mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
webrtc:ice: Add padding to structures
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2891>
This commit is contained in:
parent
75e8f80999
commit
ff0d73be57
1 changed files with 6 additions and 1 deletions
|
@ -41,6 +41,8 @@ struct _GstWebRTCICE
|
|||
GstWebRTCICEConnectionState ice_connection_state;
|
||||
guint min_rtp_port;
|
||||
guint max_rtp_port;
|
||||
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
struct _GstWebRTCICECandidateStats
|
||||
|
@ -53,6 +55,8 @@ struct _GstWebRTCICECandidateStats
|
|||
const gchar *relay_proto;
|
||||
guint prio;
|
||||
gchar *url;
|
||||
|
||||
gpointer _gst_reserved[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -61,7 +65,7 @@ struct _GstWebRTCICECandidateStats
|
|||
* @stream_id: The stream id
|
||||
* @candidate: The discovered candidate
|
||||
* @user_data: User data that was set by #gst_webrtc_ice_set_on_ice_candidate
|
||||
*
|
||||
*
|
||||
* Callback function to be triggered on discovery of a new candidate
|
||||
* Since: 1.22
|
||||
*/
|
||||
|
@ -115,6 +119,7 @@ struct _GstWebRTCICEClass {
|
|||
GstWebRTCICEStream * stream,
|
||||
GstWebRTCICECandidateStats ** local_stats,
|
||||
GstWebRTCICECandidateStats ** remote_stats);
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
GST_WEBRTC_API
|
||||
|
|
Loading…
Reference in a new issue