[Live-devel] Video & Audio Properties at RTP Receivers
Ross Finlayson
finlayson at live555.com
Wed Dec 5 09:17:38 PST 2007
The properties that you're asking about - video width & height, video
frame rate, audio sampling frequency, audio number of channels are
almost always contained within the media data themselves, and are
therefore accessed by your decoding software (or hardware), when it
parses this media data. (A reminder that the "LIVE555 Streaming
Media" software does not include decoding software.) I.e., it is the
job of your decoder to parse the media data and extract this
information.
One exception to this is that *some* simple audio codecs (e.g., PCM)
do not include the audio sampling frequency and number of channels
'in band'. For these codecs (only), these properties are carried
separately, in the stream's SDP description, and can be accessed from
the stream's "MediaSubession" object.
>2. For H.264, is there any parser for the extra info returned by
>parseH264ConfigStr ?
This data is a sequence of H.264 NAL units, and are therefore
parsed/interpreted by your H.264 decoder.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list