Home
last modified time | relevance | path

Searched refs:ready_state (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst-libs/gst/webrtc/
Ddatachannel.c156 g_value_set_enum (value, channel->ready_state); in gst_webrtc_data_channel_get_property()
384 if (channel->ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_CLOSING || in gst_webrtc_data_channel_on_open()
385 channel->ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED) { in gst_webrtc_data_channel_on_open()
390 if (channel->ready_state != GST_WEBRTC_DATA_CHANNEL_STATE_OPEN) { in gst_webrtc_data_channel_on_open()
391 channel->ready_state = GST_WEBRTC_DATA_CHANNEL_STATE_OPEN; in gst_webrtc_data_channel_on_open()
420 if (channel->ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED) { in gst_webrtc_data_channel_on_close()
425 channel->ready_state = GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED; in gst_webrtc_data_channel_on_close()
Dwebrtc-priv.h250 GstWebRTCDataChannelState ready_state; member
/third_party/gstreamer/gstplugins_bad/ext/webrtc/
Dwebrtcdatachannel.c336 if (channel->parent.ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED) { in _close_procedure()
339 } else if (channel->parent.ready_state == in _close_procedure()
343 } else if (channel->parent.ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_OPEN) { in _close_procedure()
344 channel->parent.ready_state = GST_WEBRTC_DATA_CHANNEL_STATE_CLOSING; in _close_procedure()
927 if (channel->parent.ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_CLOSING in on_appsrc_data()
Dgstwebrtcbin.c2303 GstWebRTCDataChannelState ready_state; in _on_data_channel_ready_state() local
2305 g_object_get (channel, "ready-state", &ready_state, NULL); in _on_data_channel_ready_state()
2307 if (ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_OPEN) { in _on_data_channel_ready_state()
2325 } else if (ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED) { in _on_data_channel_ready_state()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dwebrtcbin.c2096 GstWebRTCDataChannelState ready_state = GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED; in is_data_channel_open() local
2099 g_object_get (channel, "ready-state", &ready_state, NULL); in is_data_channel_open()
2102 return ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_OPEN; in is_data_channel_open()
2123 GstWebRTCDataChannelState ready_state; in on_data_channel_close() local
2125 g_object_get (channel, "ready-state", &ready_state, NULL); in on_data_channel_close()
2127 if (ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED) { in on_data_channel_close()
2376 GstWebRTCDataChannelState ready_state; in _on_ready_state_notify() local
2378 g_object_get (channel, "ready-state", &ready_state, NULL); in _on_ready_state_notify()
2380 if (ready_state == GST_WEBRTC_DATA_CHANNEL_STATE_OPEN) { in _on_ready_state_notify()