function useVideoSendingService()

in src/providers/VideoSendingProvider.tsx [142:150]


function useVideoSendingService() {
  const context = useContext(VideoSendingServiceContext);
  if (context === undefined) {
    throw new Error(
      'useVideoSendingService must be used within a VideoSendingProvider'
    );
  }
  return context;
}