Re: [Live-devel] How to know when a RTSP stream is ready to play?

2020-03-27 Thread Ross Finlayson
> On Mar 28, 2020, at 6:49 AM, Matthew Czarnek wrote: > > On my server, I'm calling this code to create a proxy Stream and add it to my > session: > > ProxyServerMediaSession* proxyStream = > ProxyServerMediaSession::createNew(*env, rtspServer, proxyURL, > proxyStreamName); > rtspServer

[Live-devel] How to know when a RTSP stream is ready to play?

2020-03-27 Thread Matthew Czarnek
On my server, I'm calling this code to create a proxy Stream and add it to my session: ProxyServerMediaSession* proxyStream = ProxyServerMediaSession::createNew(*env, rtspServer, proxyURL, proxyStreamName); rtspServer->addServerMediaSession(proxyStream); Then I get the rtsp URL: char* proxyS

Re: [Live-devel] I want to get disconnect event triggered from RTSP server.

2020-03-27 Thread Ross Finlayson
Yes, thanks for the reminder that our RTSP server implementation - due to a bug that needs fixing - currently does not send a RTCP “BYE” when a stream ends. That will be fixed sometime (perhaps fairly soon). But that’s not particularly relevant here, because you are asking about how to program

Re: [Live-devel] I want to get disconnect event triggered from RTSP server.

2020-03-27 Thread Steve Ha
Hi Ross, > *The way to do this is to look for, and handle, a RTCP “BYE” packet that > the server should send when it ends the stream. And the way to do that is > to call “setByeHandler()” or “setByeWithReasonHandler()” on the > “RTCPInstance” object.* > I had installed ByeHandler in RTSP client

Re: [Live-devel] I want to get disconnect event triggered from RTSP server.

2020-03-27 Thread Ross Finlayson
> On Mar 27, 2020, at 7:50 PM, Steve Ha wrote: > > Hi Ross, > > My RTSP client application needs to recognize disconnect event triggered from > the RTSP server. The way to do this is to look for, and handle, a RTCP “BYE” packet that the server should send when it ends the stream. And the w