[Libav-user] RTP H.264 private data

Info || Non-Lethal Applications info at non-lethal-applications.com
Tue May 5 23:56:25 CEST 2015


Thomas, 
thanks for your quick response.

> On 05 May 2015, at 23:25, Thomas Volkert <silvo at gmx.net> wrote:
> 
> 
> Am 05.05.2015 um 22:43 schrieb Info || Non-Lethal Applications:
>> Hi guys,
>> 
>> I’m sending an H.264 stream from the Mac to an iOS device using OpenH264 and RTP and it works great.
>> I was wondering if there’s a chance to add private data to the packets so I could add some info in order to know the exact delay of the stream?
>> I thought about adding a timestamp of the source machine to every packet.
> 
> If you are using RTCP packets within the RTP based stream, you could extract the NTP timestamps from RTCP packets of the source and (if the clock at sender side is correct) conclude the transmission delay.

That sounds like a good approach. Can you give me a hint on how this is done?
I was just trying to find information about RTCP support in FFmpeg and didn’t find much.

Thanks!


More information about the Libav-user mailing list