Hi Luca,

Could u please tell me the API of libavformat that i have to use init and
use RTP stack?
i googled lot to find the same but i did not succeed. there are examples for
file but i did not find example for RTP.

Thanks

On Tue, Jul 27, 2010 at 11:52 PM, Umakant Goyal <[email protected]>wrote:

> Thanks you very much for clearing my doubt. now i got your point. i believe
> same thing will be applicable for H.263+ & MPEG4.
> Can u share the API of libavformat that i can use to init RTP stack,open
> socket and send/receive stream to/from other end?
>
>
> On Tue, Jul 27, 2010 at 11:44 PM, Luca Abeni <[email protected]> wrote:
>
>> On 27/07/10 19:47, Umakant Goyal wrote:
>>
>>> Hi Luca,
>>>
>>> I did not get your point. i am using  libavcodec  just for encoding of
>>> raw
>>> data. Could explain little more?
>>>
>> The RTP payload headers are part of the "RTP format", not part of the
>> H.264 stream, so libavcodec does not add them. If you want to use the ffmpeg
>> libraries to stream RTP, you have to use libavformat: it will add the proper
>> payload headers, and it will take care of properly splitting the various
>> NALs in RTP packets.
>>
>>
>>  To send encoded data over network i am using my own RTP stack.
>>>
>> So, your RTP stack is in charge of adding the payload headers.
>>
>>
>>
>>                        Luca
>> _______________________________________________
>> libav-user mailing list
>> [email protected]
>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>>
>
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to