[vlc-devel] Re: sdp

Matthew Romaine Matthew.Romaine at jp.sony.com
Tue Feb 1 05:10:58 CET 2005


Hussain,

take a look in modules/demux/livedotcom.cpp and do a search for 
"MPEG4-GENERIC". you should come across a sequence of else ifs that set 
some parameters based on the codec that livedotcom has determined will 
be in a stream. For MPEG4-GENERIC, there's a conditional that checks 
part of a config and stores the data in a "p_extra" field that can be 
read by the decoder when it gets there in the chain.

hth,
matt


On 2005/02/01, at 3:49, Hussain wrote:


> Hello. What would be the best way to read data from the SDP and send 
> that
> data to the decoder, before sending the rest of the RTP payload to the
> decoder.
>
> This is the problem I am facing. It seems that when streaming h264
> over RTP, the initial NAL unit parameter sets are sent over using
> SDP. So I need to get these parameter sets from the SDP description,
> and then send it over to the decoder before I send it the rest of the
> rtp payload. As of now I am cluessless how to extract the info, and
> even more importantly send it over to the decoder. Any help on this
> would be appreciated. Even if its which file or function to look at.
>
> Thanks. Hussain
>
> -- This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>
Audio Codec Development Department

Personal Communications Business Division

Information Technology & Communications Network Company


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list