Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-17 Thread Ross Finlayson
As I noted in my last message, you can use the existing RTSP client mechanism (using "openRTSP" as a model) to 1/ Detect when a stream has ended - using *either* RTCP "BYE* packets coming from the server, *or* (if the server keeps the stream open, without sending a "BYE") using the stream durati

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-17 Thread Brian Marete
On Fri, Oct 17, 2008 at 4:27 PM, Ross Finlayson <[EMAIL PROTECTED]> wrote: > >> >> In other words, once I do the above, what else >> >> do I have to do to clean up in rebuild again in preparation of >> >> streaming the next file? >> > >> > If you want to keep the existingoutput network connections

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-17 Thread Ross Finlayson
No, you can't (reliably) use RTCP "BYE" to trigger this, because the server will not always send a "BYE" when it reaches the stream. I meant to say, of course: No, you can't (reliably) use RTCP "BYE"s to trigger this, because the server will not always send a "BYE" when it reaches the end of

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-17 Thread Ross Finlayson
>> In other words, once I do the above, what else >> do I have to do to clean up in rebuild again in preparation of >> streaming the next file? > > If you want to keep the existingoutput network connections, and continue > streaming the next file, then you don't need to make *any* changes to th

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-17 Thread Brian Marete
On Fri, Oct 17, 2008 at 4:38 AM, Ross Finlayson <[EMAIL PROTECTED]> wrote: > >> In other words, once I do the above, what else >> do I have to do to clean up in rebuild again in preparation of >> streaming the next file? > > If you want to keep the existingoutput network connections, and continue

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-16 Thread Ross Finlayson
In other words, once I do the above, what else do I have to do to clean up in rebuild again in preparation of streaming the next file? If you want to keep the existingoutput network connections, and continue streaming the next file, then you don't need to make *any* changes to the existing

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-16 Thread Brian Marete
On Thu, Oct 16, 2008 at 6:17 AM, Ross Finlayson <[EMAIL PROTECTED]> wrote: > >> The behavior I expect is that at the end of the stream, when >> stopPlaying() is called on both sinks, live555 should send and RTCP >> Bye packet, causing MPlayer to exit. > > No, that's not what the code does. When th

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-15 Thread Ross Finlayson
At 04:17 PM 10/15/2008, you wrote: Hello, I am playing with the vobStreamer application, using MPlayer -rc2 to view the stream. The behavior I expect is that at the end of the stream, when stopPlaying() is called on both sinks, live555 should send and RTCP Bye packet, causing MPlayer to exit. B

Re: [Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-15 Thread Ross Finlayson
The behavior I expect is that at the end of the stream, when stopPlaying() is called on both sinks, live555 should send and RTCP Bye packet, causing MPlayer to exit. No, that's not what the code does. When the code reaches the end of the input file, it reads/streams it again starting from th

[Live-devel] RTCP Bye in PassiveServerMediaSession

2008-10-15 Thread Brian Marete
Hello, I am playing with the vobStreamer application, using MPlayer -rc2 to view the stream. The behavior I expect is that at the end of the stream, when stopPlaying() is called on both sinks, live555 should send and RTCP Bye packet, causing MPlayer to exit. But l have confirmed with wireshark th