mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 18:53:58 +00:00
webrtc: Also remove rtcp_transport from the structure
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1765>
This commit is contained in:
parent
c5d76d944e
commit
52c676546d
4 changed files with 2 additions and 14 deletions
|
@ -84,10 +84,6 @@ gst_webrtc_rtp_receiver_finalize (GObject * object)
|
||||||
gst_object_unref (webrtc->transport);
|
gst_object_unref (webrtc->transport);
|
||||||
webrtc->transport = NULL;
|
webrtc->transport = NULL;
|
||||||
|
|
||||||
if (webrtc->rtcp_transport)
|
|
||||||
gst_object_unref (webrtc->rtcp_transport);
|
|
||||||
webrtc->rtcp_transport = NULL;
|
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ GType gst_webrtc_rtp_receiver_get_type(void);
|
||||||
/**
|
/**
|
||||||
* GstWebRTCRTPReceiver:
|
* GstWebRTCRTPReceiver:
|
||||||
* @transport: The transport for RTP packets
|
* @transport: The transport for RTP packets
|
||||||
* @rtcp_transport: The transport for RTCP packets without rtcp-mux
|
|
||||||
*
|
*
|
||||||
* An object to track the receiving aspect of the stream
|
* An object to track the receiving aspect of the stream
|
||||||
*
|
*
|
||||||
|
@ -50,9 +49,8 @@ struct _GstWebRTCRTPReceiver
|
||||||
{
|
{
|
||||||
GstObject parent;
|
GstObject parent;
|
||||||
|
|
||||||
/* The MediStreamTrack is represented by the stream and is output into @transport/@rtcp_transport as necessary */
|
/* The MediStreamTrack is represented by the stream and is output into @transport as necessary */
|
||||||
GstWebRTCDTLSTransport *transport;
|
GstWebRTCDTLSTransport *transport;
|
||||||
GstWebRTCDTLSTransport *rtcp_transport;
|
|
||||||
|
|
||||||
gpointer _padding[GST_PADDING];
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
|
@ -121,10 +121,6 @@ gst_webrtc_rtp_sender_finalize (GObject * object)
|
||||||
gst_object_unref (sender->transport);
|
gst_object_unref (sender->transport);
|
||||||
sender->transport = NULL;
|
sender->transport = NULL;
|
||||||
|
|
||||||
if (sender->rtcp_transport)
|
|
||||||
gst_object_unref (sender->rtcp_transport);
|
|
||||||
sender->rtcp_transport = NULL;
|
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ GType gst_webrtc_rtp_sender_get_type(void);
|
||||||
/**
|
/**
|
||||||
* GstWebRTCRTPSender:
|
* GstWebRTCRTPSender:
|
||||||
* @transport: The transport for RTP packets
|
* @transport: The transport for RTP packets
|
||||||
* @rtcp_transport: The transport for RTCP packets without rtcp-mux
|
|
||||||
* @send_encodings: Unused
|
* @send_encodings: Unused
|
||||||
* @priority: The priority of the stream (Since: 1.20)
|
* @priority: The priority of the stream (Since: 1.20)
|
||||||
*
|
*
|
||||||
|
@ -59,9 +58,8 @@ struct _GstWebRTCRTPSender
|
||||||
{
|
{
|
||||||
GstObject parent;
|
GstObject parent;
|
||||||
|
|
||||||
/* The MediStreamTrack is represented by the stream and is output into @transport/@rtcp_transport as necessary */
|
/* The MediStreamTrack is represented by the stream and is output into @transport as necessary */
|
||||||
GstWebRTCDTLSTransport *transport;
|
GstWebRTCDTLSTransport *transport;
|
||||||
GstWebRTCDTLSTransport *rtcp_transport;
|
|
||||||
|
|
||||||
GArray *send_encodings;
|
GArray *send_encodings;
|
||||||
GstWebRTCPriorityType priority;
|
GstWebRTCPriorityType priority;
|
||||||
|
|
Loading…
Reference in a new issue