Lines Matching refs:wpad
266 gst_webrtc_bin_pad_update_ssrc_event (GstWebRTCBinPad * wpad) in gst_webrtc_bin_pad_update_ssrc_event() argument
268 if (wpad->received_caps) { in gst_webrtc_bin_pad_update_ssrc_event()
269 WebRTCTransceiver *trans = (WebRTCTransceiver *) wpad->trans; in gst_webrtc_bin_pad_update_ssrc_event()
270 GstPad *pad = GST_PAD (wpad); in gst_webrtc_bin_pad_update_ssrc_event()
297 GstWebRTCBinPad *wpad = GST_WEBRTC_BIN_PAD (pad); in gst_webrtcbin_sink_event() local
305 check_negotiation = (!wpad->received_caps in gst_webrtcbin_sink_event()
306 || !gst_caps_is_equal (wpad->received_caps, caps)); in gst_webrtcbin_sink_event()
307 gst_caps_replace (&wpad->received_caps, caps); in gst_webrtcbin_sink_event()
314 WebRTCTransceiver *trans = WEBRTC_TRANSCEIVER (wpad->trans); in gst_webrtcbin_sink_event()
319 gst_webrtc_bin_pad_update_ssrc_event (wpad); in gst_webrtcbin_sink_event()
326 if (wpad->trans) { in gst_webrtcbin_sink_event()
327 GST_OBJECT_LOCK (wpad->trans); in gst_webrtcbin_sink_event()
328 if (wpad->trans->current_direction == in gst_webrtcbin_sink_event()
330 || wpad->trans->current_direction == in gst_webrtcbin_sink_event()
332 GList *pending = _get_pending_sink_transceiver (webrtc, wpad); in gst_webrtcbin_sink_event()
337 wpad->trans, wpad->received_caps); in gst_webrtcbin_sink_event()
338 _connect_input_stream (webrtc, wpad); in gst_webrtcbin_sink_event()
339 gst_pad_remove_probe (GST_PAD (pad), wpad->block_id); in gst_webrtcbin_sink_event()
340 wpad->block_id = 0; in gst_webrtcbin_sink_event()
347 GST_OBJECT_UNLOCK (wpad->trans); in gst_webrtcbin_sink_event()
366 GstWebRTCBinPad *wpad = GST_WEBRTC_BIN_PAD (pad); in gst_webrtcbin_sink_query() local
371 GST_OBJECT_LOCK (wpad->trans); in gst_webrtcbin_sink_query()
372 if (wpad->trans->codec_preferences) { in gst_webrtcbin_sink_query()
378 gst_caps_can_intersect (caps, wpad->trans->codec_preferences)); in gst_webrtcbin_sink_query()
381 GST_OBJECT_UNLOCK (wpad->trans); in gst_webrtcbin_sink_query()
388 GST_OBJECT_LOCK (wpad->trans); in gst_webrtcbin_sink_query()
389 if (wpad->trans->codec_preferences) in gst_webrtcbin_sink_query()
390 codec_preferences = gst_caps_ref (wpad->trans->codec_preferences); in gst_webrtcbin_sink_query()
391 GST_OBJECT_UNLOCK (wpad->trans); in gst_webrtcbin_sink_query()
446 GstWebRTCBinPad *wpad; in webrtc_bin_pad_buffer_cb() local
465 wpad = GST_WEBRTC_BIN_PAD (pad); in webrtc_bin_pad_buffer_cb()
466 wpad->last_ssrc = gst_rtp_buffer_get_ssrc (&rtpbuf); in webrtc_bin_pad_buffer_cb()
1477 GstWebRTCBinPad *wpad; in _all_sinks_have_caps() local
1482 wpad = GST_WEBRTC_BIN_PAD (l->data); in _all_sinks_have_caps()
1483 if (GST_PAD_DIRECTION (l->data) == GST_PAD_SINK && !wpad->received_caps in _all_sinks_have_caps()
1484 && (!wpad->trans || !wpad->trans->stopped)) { in _all_sinks_have_caps()
1485 if (wpad->trans && wpad->trans->codec_preferences) { in _all_sinks_have_caps()