Re: [Live-devel] How to implement upload multiple audio streaming to rtsp server?

2017-04-06 Thread Eric_Hsieh
Hi Ross We would like to ask a question about schedule. Thanks. We use following flow to receive data from client. MultiFramedRTPSource —> WAVFileSink If we run one client to upload audio stream, we can receive correct data. If we run two clients to upload audio stream. First one will be blocking.

Re: [Live-devel] Am I doing this right?

2017-04-06 Thread Ross Finlayson
> A bit more details on the crash I'm encountering. First, it's not really a > "crash" in that the server dies. It appears to be a C++ exception that is > being fired and handled somewhere It’s not just “not really” a crash; it’s not even close to a crash. A C++ exception is *not* an error of

Re: [Live-devel] Am I doing this right?

2017-04-06 Thread Ben Rush
"No, you don’t ‘set’ “fTo” to point to the data; you *copy* the data to the address pointed to by “fTo”" Yes, you are correct. I was using "loosey goosey" terminology here. Specifically, I do something like this: memmove(fTo, nal.p_payload .. A bit more details on the crash I'm encountering.

Re: [Live-devel] Am I doing this right?

2017-04-06 Thread Ross Finlayson
> FramedSource* OCVFileServerMediaSubsession::createNewStreamSource(unsigned > /*clientSessionId*/, unsigned& estBitrate) { > estBitrate = 9; // kbps, estimate > > // Create the video source: > { > std::ifstream in(fFileName, std::ifstream::ate | > std::ifstream::binary);

[Live-devel] Am I doing this right?

2017-04-06 Thread Ben Rush
We're using Live555 for live RTSP video streaming and it's been working flawlessly for us. The video we stream we also save to disk using some other mechanism. We are now in a situation where our clients would like to play back the recorded files on demand, and so we're looking to extend our RTSP s

Re: [Live-devel] How to drop client quickly when client is disconnection

2017-04-06 Thread Eric_Hsieh
Hi Ross Got it. Thanks for your help. > Ross Finlayson 於 2017年4月6日 16:42 寫道: > >> Using testOnDemandRTSPServer as rtsp server. >> Sometimes, client lose connection with server because of bad wifi. >> >> Now, we know server have a timeout 65 sec to keep this connection alive. >> But, we want to d

Re: [Live-devel] How to drop client quickly when client is disconnection

2017-04-06 Thread Ross Finlayson
> Using testOnDemandRTSPServer as rtsp server. > Sometimes, client lose connection with server because of bad wifi. > > Now, we know server have a timeout 65 sec to keep this connection alive. > But, we want to drop this client as soon as possible. > > So, do you know there is a way to know rtsp

[Live-devel] How to drop client quickly when client is disconnection

2017-04-06 Thread Eric_Hsieh
Hi Ross Sorry to interrupt you again. I have a question need your hint. Thanks. We are working on a wifi camera, under bad wifi signal env. Using testOnDemandRTSPServer as rtsp server. Sometimes, client lose connection with server because of bad wifi. Now, we know server have a timeout 65 sec to