[Live-devel] How to get NPT of a received RTP Packet in openRTSP

Ross Finlayson finlayson at live555.com
Fri Jan 18 02:14:42 PST 2008


>How does one obtain the current NPT (normal playing time) of a
>received packet?

FYI, the latest release (2008.01.18) of the "LIVE555 Streaming Media" 
code adds support for this.  Specifically, there is a new member 
function
	MediaSubsession::getNormalPlayTime()
which - given a stream's current presentation time - returns the 
"Normal Play Time" - as defined in RFC 2326, section 3.6.  This is 
useful for RTSP-initiated streams.

For more information, see the definition in 
"liveMedia/include/MediaSession.hh".
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list