RTSP server (reference timestamp metadata)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RTSP server (reference timestamp metadata)

GSTomasz
Hello,

I want to use RTSP server for serving videos from camera(s). In my solution
I need to provide exact capture timestamp for each of the video frames. For
this I wanted to use the GstReferenceTimestampMeta struct. From the server
side the code looks like that:

  GstCaps *imCaps = gst_caps_new_empty_simple("stream/x-timestamp");
  gst_buffer_add_reference_timestamp_meta (buffer, imCaps, timeStamp,
GST_CLOCK_TIME_NONE);

Everything seems fine - I'm able to get the reference timestamp metadata
further in the server GST pipeline correctly,* but from the client
perspective it seems there is no such metadata (other fields like PTS or DTS
have correct values):*

  gst_buffer_get_reference_timestamp_meta(buffer, imCaps);  // *returns
NULL*

In the gstreamer logs I didn't see any obvious messages that indicate a
problem with sending the GstReferenceTimestampMeta.

Do you know if my observations are expected, i.e. the
GstReferenceTimestampMeta is ignored somewhere in the RTSP server <-> client
path? I would appreciate any suggestions on this topic.

Thanks,
Tomasz



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel