From 9f597336b57f7b4afc44ca2826da75eebeb7039c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 29 Aug 2007 01:22:43 +0000 Subject: gst/rtpmanager/gstrtpsession.*: Distribute synchronisation parameters to the session manager so that it can generate ... Original commit message from CVS: * gst/rtpmanager/gstrtpsession.c: (stop_rtcp_thread), (gst_rtp_session_change_state), (gst_rtp_session_event_send_rtp_sink): * gst/rtpmanager/gstrtpsession.h: Distribute synchronisation parameters to the session manager so that it can generate correct SR packets for lip-sync. * gst/rtpmanager/rtpsession.c: (rtp_session_set_base_time), (rtp_session_set_timestamp_sync), (session_start_rtcp): * gst/rtpmanager/rtpsession.h: Add methods for setting sync parameters. Set correct RTP time in SR packets using the sync params. * gst/rtpmanager/rtpsource.c: (rtp_source_send_rtp): * gst/rtpmanager/rtpsource.h: Record last RTP <-> GST timestamp so that we can use them to convert NTP to RTP timestamps in SR packets. --- gst/rtpmanager/gstrtpsession.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/rtpmanager/gstrtpsession.h') diff --git a/gst/rtpmanager/gstrtpsession.h b/gst/rtpmanager/gstrtpsession.h index 87f8ea7a..09565ac1 100644 --- a/gst/rtpmanager/gstrtpsession.h +++ b/gst/rtpmanager/gstrtpsession.h @@ -45,6 +45,7 @@ struct _GstRtpSession { GstPad *recv_rtp_sink; GstPad *recv_rtcp_sink; GstPad *send_rtp_sink; + GstSegment send_rtp_seg; GstPad *recv_rtp_src; GstPad *sync_src; -- cgit v1.2.1