Re: [Live-devel] Issue in sharing source via OnDemandServerMediaSubsession

2019-12-26 Thread Steve Ha
You are right, for closing stream source the way you mentioned is simpler than my way. But for other purposes, I would handle the job in the same class. Thanks again. Regards. On Fri, Dec 27, 2019 at 1:13 AM Ross Finlayson wrote: > > > > On Dec 27, 2019, at 2:08 AM, Steve Ha wrote: > > > > Af

Re: [Live-devel] Issue in sharing source via OnDemandServerMediaSubsession

2019-12-26 Thread Ross Finlayson
> On Dec 27, 2019, at 2:08 AM, Steve Ha wrote: > > After seeing no issue in the testOnDemandRtspServer, I check my program again > and > I found the cause. I’m glad to hear this! > Previously I handled streaming ON/OFF in the function > DerivedOnDemandxxx::deleteStream(clientSessionId, st

Re: [Live-devel] Issue in sharing source via OnDemandServerMediaSubsession

2019-12-26 Thread Steve Ha
After seeing no issue in the testOnDemandRtspServer, I check my program again and I found the cause. Previously I handled streaming ON/OFF in the function DerivedOnDemandxxx::deleteStream(clientSessionId, streamToken) {} Now I realized that doing so is reasonable only when reuseFirstSource = False

Re: [Live-devel] Issue in sharing source via OnDemandServerMediaSubsession

2019-12-26 Thread Ross Finlayson
> On Dec 26, 2019, at 8:05 PM, Steve Ha wrote: > > Hi Ross, > > I have a problem in using OnDemandServerMediaSubsession to share a live video > source. > In my test, multiple clients could connect to the server to get stream well, > but when one of clients > disconnects from the server, othe