Re: [Live-devel] Closing and deleting enviroment at the shutdownstream [ testRTSPClient and OpenRTSPClient]

2012-01-07 Thread Ross Finlayson
> Well, > > I make my test on testRTSPClient example > It has method shutdownStream(RTSPClient* rtspClient, int exitCode) > in which I delete exit(exitCode); statement > > and put env.reclaim() there but env.liveMediaPriv != NULL as I said before Sorry, but I just tried this myself, with the

Re: [Live-devel] Closing and deleting enviroment at the shutdownstream [ testRTSPClient and OpenRTSPClient]

2012-01-07 Thread Novalis Vapuru
Well, I make my test on testRTSPClient example It has method shutdownStream(RTSPClient* rtspClient, int exitCode) in which I delete exit(exitCode); statement and put env.reclaim() there but env.liveMediaPriv != NULL as I said before How to modify testRTSPClient example shutdownstream method

Re: [Live-devel] How to distinguish new RTP packets fromout-of-data RTP packets when random accessing the video

2012-01-07 Thread Ross Finlayson
> Are you actually seeing this happen with this server (a Darwin Streaming > Server)?Our RTP reception software will automatically discard > out-of-order incoming RTP packets (by checking the RTP sequence number). So, > if you're seeing "old RTP packets" after the "PLAY", then presumably yo

Re: [Live-devel] How to distinguish new RTP packets fromout-of-data RTP packets when random accessing the video

2012-01-07 Thread Erin Yang
Yes. It happened. Sometimes, network traffic may be congested. When randomly accessing the video, we can’t guarantee the last old RTP packets arrive earlier than the first new RTP packet due to congested network. If I just feed all incoming data to decoder, as usual, the player would display th

[Live-devel] New LIVE555 version - adds a "StreamReplicator" class (and a demo application for this)

2012-01-07 Thread Ross Finlayson
People have often asked for a way to 'replicate' an incoming stream into two or more replicas, so that they can (for example) write one replica to a file, and transmit the other replica over a network, or perhaps feed it into a decoder, etc. I've now installed a new version (2012.01.07) of the

Re: [Live-devel] How to distinguish new RTP packets from out-of-data RTP packets when random accessing the video

2012-01-07 Thread Ross Finlayson
> I would like to random access the video, so I send a PAUSE command and then a > PLAY command with a specified time. > That is like follows. > > PAUSE rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp RTSP/1.0 > SeqNo: 3 > Session: 6347526623097789397 > (==> without range header) > > ... >

[Live-devel] How to distinguish new RTP packets from out-of-data RTP packets when random accessing the video

2012-01-07 Thread Erin Yang
Hi, I would like to random access the video, so I send a PAUSE command and then a PLAY command with a specified time. That is like follows. PAUSE rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp RTSP/1.0 SeqNo: 3 Session: 6347526623097789397 (==> without range header) ... PLAY rtsp