Page 1 of 1

synchronized metadata on RTP

Posted: 17 Mar 2010 10:33
by alb84
Hi,
I have successfully integrated libVLC with OpenGL and .NET Winforms in order to receive a RTP video stream and display cartographical augmented reality on the video. At the moment the cartography is loaded by OpenGL and displayed using no real metadata about the position of the camera.
What I need to do now is to set up a synchronized metadata transmission of the camera position and orientation so that the cartography can be deformed by OpenGL and justapposed on the video... do you know if it is possible to use the same RTP stream so that synchronization comes "automagically"? is it possible to write and to read metadata associated with the video data in the same RTP video stream using libVLC?

Re: synchronized metadata on RTP

Posted: 19 Mar 2010 13:23
by alb84
I've found a good and free rtp library named jrtplib with good examples to send any data (buffer of bytes) on RTP with a timestamp and a sequence number... so in case it was not possible to put the metadata in the same RTP stream produced by VLC I was thinking of using another RTP stream... Yet the problem in this case would always be the synchronization of the timestamps of the two streams both on the server at the moment of the production of the two streams and both on the client...

Do you know if it's possible and possibily give an example to set and get RTP timestamp and sequence number using libVLC?