| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
#ifndef __GST_WEBRTC_ICE_STREAM_H__ |
| 21 |
#define __GST_WEBRTC_ICE_STREAM_H__ |
| 22 |
|
| 23 |
#include "ice.h" |
| 24 |
|
| 25 |
G_BEGIN_DECLS |
| 26 |
|
| 27 |
GST_WEBRTC_API |
| 28 |
GType gst_webrtc_ice_stream_get_type(void); |
| 29 |
#define GST_TYPE_WEBRTC_ICE_STREAM (gst_webrtc_ice_stream_get_type()) |
| 30 |
#define GST_WEBRTC_ICE_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_WEBRTC_ICE_STREAM,GstWebRTCICEStream)) |
| 31 |
#define GST_IS_WEBRTC_ICE_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_WEBRTC_ICE_STREAM)) |
| 32 |
#define GST_WEBRTC_ICE_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass) ,GST_TYPE_WEBRTC_ICE_STREAM,GstWebRTCICEStreamClass)) |
| 33 |
#define GST_IS_WEBRTC_ICE_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass) ,GST_TYPE_WEBRTC_ICE_STREAM)) |
| 34 |
#define GST_WEBRTC_ICE_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj) ,GST_TYPE_WEBRTC_ICE_STREAM,GstWebRTCICEStreamClass)) |
| 35 |
|
| 36 |
struct _GstWebRTCICEStream |
| 37 |
{ |
| 38 |
GstObject parent; |
| 39 |
guint stream_id; |
| 40 |
}; |
| 41 |
|
| 42 |
struct _GstWebRTCICEStreamClass |
| 43 |
{ |
| 44 |
GstObjectClass parent_class; |
| 45 |
GstWebRTCICETransport * (*find_transport) (GstWebRTCICEStream * stream, |
| 46 |
GstWebRTCICEComponent component); |
| 47 |
gboolean (*gather_candidates) (GstWebRTCICEStream * ice); |
| 48 |
}; |
| 49 |
|
| 50 |
|
| 51 |
GST_WEBRTC_API |
| 52 |
GstWebRTCICETransport * gst_webrtc_ice_stream_find_transport (GstWebRTCICEStream * stream, |
| 53 |
GstWebRTCICEComponent component) G_GNUC_WARN_UNUSED_RESULT; |
| 54 |
GST_WEBRTC_API |
| 55 |
gboolean gst_webrtc_ice_stream_gather_candidates (GstWebRTCICEStream * ice); |
| 56 |
|
| 57 |
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstWebRTCICEStream, gst_object_unref) |
| 58 |
|
| 59 |
G_END_DECLS |
| 60 |
|
| 61 |
#endif |