Timestamp Video and Sensor Data

Hi,

I have to transmit video and sensor data over network.
I am using Gstreamer for video Tram=nsmission.

How can i timestamp the video and sensor data such that i can know at
the receiver that which data from sensor corresponds to which frame of
the video.

Thanks,
Anand

There is an example at the end of this article:
http://www.oz9aec.net/index.php/gstreamer/345-a-weekend-with-gstreamer

Thanks