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

Erin Yang erin.yang at mstarsemi.com
Sat Jan 7 01:22:13 PST 2012


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://113.31.34.14:554/work/500/115/969/967/500.3gp RTSP/1.0
SeqNo: 4
Range: npt=12-100    (==> set start play point at the 12th second)
Session: 6347526623097789397
 
 
However, I can't control the network traffic, so I may still receive some
old RTP packets after receiving PLAY response.
Is there any information to distinguish new RTP packets from out-of-data RTP
packets?
With the information, I can discard the old RTP packets and play video until
receiving the first new RTP packet.
Thx a lot!
 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120107/296c5192/attachment.html>


More information about the live-devel mailing list