• Home
  • Raw
  • Download

Lines Matching refs:sdp

1542             sdp) >= G_MAXUINT) {  in _check_if_negotiation_is_needed()
1573 gst_sdp_message_medias_len (webrtc->current_local_description->sdp)); in _check_if_negotiation_is_needed()
1575 gst_sdp_message_medias_len (webrtc->current_remote_description->sdp)); in _check_if_negotiation_is_needed()
1583 gst_sdp_message_get_media (webrtc->current_local_description->sdp, in _check_if_negotiation_is_needed()
1588 gst_sdp_message_get_media (webrtc->current_remote_description->sdp, in _check_if_negotiation_is_needed()
3804 if (!_parse_bundle (pending_remote->sdp, &bundled, error)) in _create_answer_task()
3811 if (!_get_bundle_index (pending_remote->sdp, bundled, &bundle_idx)) { in _create_answer_task()
3840 gst_sdp_message_get_origin (pending_remote->sdp); in _create_answer_task()
3846 for (i = 0; i < gst_sdp_message_attributes_len (pending_remote->sdp); i++) { in _create_answer_task()
3848 gst_sdp_message_get_attribute (pending_remote->sdp, i); in _create_answer_task()
3855 for (i = 0; i < gst_sdp_message_medias_len (pending_remote->sdp); i++) { in _create_answer_task()
3864 (GstSDPMedia *) gst_sdp_message_get_media (pending_remote->sdp, i); in _create_answer_task()
4251 GstSDPMessage *sdp = NULL; in _create_sdp_task() local
4259 sdp = _create_offer_task (webrtc, data->options, &error); in _create_sdp_task()
4261 sdp = _create_answer_task (webrtc, data->options, &error); in _create_sdp_task()
4267 if (sdp) { in _create_sdp_task()
4268 desc = gst_webrtc_session_description_new (data->type, sdp); in _create_sdp_task()
4372 const GstSDPMessage * sdp, guint media_idx) in _find_transceiver_for_sdp_media() argument
4374 const GstSDPMedia *media = gst_sdp_message_get_media (sdp, media_idx); in _find_transceiver_for_sdp_media()
4702 GstSDPMessage * sdp, gint mline_index, const gchar * candidate) in _add_ice_candidate_to_sdp() argument
4706 if (mline_index < sdp->medias->len) { in _add_ice_candidate_to_sdp()
4707 media = &g_array_index (sdp->medias, GstSDPMedia, mline_index); in _add_ice_candidate_to_sdp()
4773 TransportStream * stream, const GstSDPMessage * sdp, guint media_idx) in _update_transport_ptmap_from_media() argument
4777 const GstSDPMedia *media = gst_sdp_message_get_media (sdp, media_idx); in _update_transport_ptmap_from_media()
4785 gst_sdp_message_attributes_to_caps (sdp, global_caps); in _update_transport_ptmap_from_media()
4843 const GstSDPMessage * sdp, guint media_idx, in _update_transceiver_from_sdp_media() argument
4850 const GstSDPMedia *media = gst_sdp_message_get_media (sdp, media_idx); in _update_transceiver_from_sdp_media()
4887 gst_sdp_message_get_media (webrtc->current_local_description->sdp, in _update_transceiver_from_sdp_media()
4890 gst_sdp_message_get_media (webrtc->current_remote_description->sdp, in _update_transceiver_from_sdp_media()
5107 const GstSDPMessage * sdp, guint media_idx, TransportStream * stream, in _update_data_channel_from_sdp_media() argument
5118 gst_sdp_message_get_media (webrtc->current_local_description->sdp, in _update_data_channel_from_sdp_media()
5121 gst_sdp_message_get_media (webrtc->current_remote_description->sdp, in _update_data_channel_from_sdp_media()
5264 GstWebRTCSessionDescription * sdp, GError ** error) in _update_transceivers_from_sdp() argument
5275 if (!_parse_bundle (sdp->sdp, &bundled, error)) in _update_transceivers_from_sdp()
5280 if (!_get_bundle_index (sdp->sdp, bundled, &bundle_idx)) { in _update_transceivers_from_sdp()
5287 _message_media_is_datachannel (sdp->sdp, bundle_idx)); in _update_transceivers_from_sdp()
5294 for (i = 0; i < gst_sdp_message_medias_len (sdp->sdp); i++) { in _update_transceivers_from_sdp()
5297 _update_transport_ptmap_from_media (webrtc, bundle_stream, sdp->sdp, i); in _update_transceivers_from_sdp()
5303 for (i = 0; i < gst_sdp_message_medias_len (sdp->sdp); i++) { in _update_transceivers_from_sdp()
5304 const GstSDPMedia *media = gst_sdp_message_get_media (sdp->sdp, i); in _update_transceivers_from_sdp()
5318 trans = _find_transceiver_for_sdp_media (webrtc, sdp->sdp, i); in _update_transceivers_from_sdp()
5321 _message_media_is_datachannel (sdp->sdp, transport_idx)); in _update_transceivers_from_sdp()
5326 _update_transport_ptmap_from_media (webrtc, stream, sdp->sdp, i); in _update_transceivers_from_sdp()
5332 if (source == SDP_LOCAL && sdp->type == GST_WEBRTC_SDP_TYPE_OFFER && !trans) { in _update_transceivers_from_sdp()
5367 _update_transceiver_from_sdp_media (webrtc, sdp->sdp, i, stream, in _update_transceivers_from_sdp()
5371 } else if (_message_media_is_datachannel (sdp->sdp, i)) { in _update_transceivers_from_sdp()
5372 _update_data_channel_from_sdp_media (webrtc, sdp->sdp, i, stream, in _update_transceivers_from_sdp()
5406 return gst_sdp_message_medias_len (new->sdp) - in transceivers_media_num_cmp()
5407 gst_sdp_message_medias_len (previous->sdp); in transceivers_media_num_cmp()
5412 check_locked_mlines (GstWebRTCBin * webrtc, GstWebRTCSessionDescription * sdp, in check_locked_mlines() argument
5417 for (i = 0; i < gst_sdp_message_medias_len (sdp->sdp); i++) { in check_locked_mlines()
5418 const GstSDPMedia *media = gst_sdp_message_get_media (sdp->sdp, i); in check_locked_mlines()
5422 rtp_trans = _find_transceiver_for_sdp_media (webrtc, sdp->sdp, i); in check_locked_mlines()
5469 GstWebRTCSessionDescription *sdp; member
5540 _enum_value_to_string (GST_TYPE_WEBRTC_SDP_TYPE, sd->sdp->type); in _set_description_task()
5541 gchar *sdp_text = gst_sdp_message_as_text (sd->sdp->sdp); in _set_description_task()
5550 if (!validate_sdp (webrtc->signaling_state, sd->source, sd->sdp, &error)) in _set_description_task()
5554 if (!_parse_bundle (sd->sdp->sdp, &bundled, &error)) in _set_description_task()
5558 if (!_get_bundle_index (sd->sdp->sdp, bundled, &bundle_idx)) { in _set_description_task()
5566 get_previous_description (webrtc, sd->source, sd->sdp->type), in _set_description_task()
5567 sd->sdp) < 0) { in _set_description_task()
5575 if ((sd->sdp->type == GST_WEBRTC_SDP_TYPE_PRANSWER || in _set_description_task()
5576 sd->sdp->type == GST_WEBRTC_SDP_TYPE_ANSWER) && in _set_description_task()
5578 get_last_generated_description (webrtc, sd->source, sd->sdp->type), in _set_description_task()
5579 sd->sdp) != 0) { in _set_description_task()
5586 if (!check_locked_mlines (webrtc, sd->sdp, &error)) in _set_description_task()
5589 switch (sd->sdp->type) { in _set_description_task()
5596 gst_webrtc_session_description_copy (sd->sdp); in _set_description_task()
5603 gst_webrtc_session_description_copy (sd->sdp); in _set_description_task()
5614 gst_webrtc_session_description_copy (sd->sdp); in _set_description_task()
5626 gst_webrtc_session_description_copy (sd->sdp); in _set_description_task()
5671 gst_webrtc_session_description_copy (sd->sdp); in _set_description_task()
5679 gst_webrtc_session_description_copy (sd->sdp); in _set_description_task()
5687 if (sd->sdp->type == GST_WEBRTC_SDP_TYPE_ROLLBACK) { in _set_description_task()
5722 && _message_has_attribute_key (webrtc->current_remote_description->sdp, in _set_description_task()
5734 if (!_update_transceivers_from_sdp (webrtc, sd->source, sd->sdp, &error)) in _set_description_task()
5749 if (pad->trans->mline >= gst_sdp_message_medias_len (sd->sdp->sdp)) { in _set_description_task()
5755 media = gst_sdp_message_get_media (sd->sdp->sdp, pad->trans->mline); in _set_description_task()
5794 for (i = 0; i < gst_sdp_message_medias_len (sd->sdp->sdp); i++) { in _set_description_task()
5795 const GstSDPMedia *media = gst_sdp_message_get_media (sd->sdp->sdp, i); in _set_description_task()
5801 _message_media_is_datachannel (sd->sdp->sdp, bundled ? bundle_idx : i)); in _set_description_task()
5823 _get_ice_credentials_from_sdp_media (sd->sdp->sdp, i, &ufrag, &pwd); in _set_description_task()
5830 _get_ice_credentials_from_sdp_media (sd->sdp->sdp, i, &ufrag, &pwd); in _set_description_task()
5857 for (i = 0; i < gst_sdp_message_medias_len (remote_sdp->sdp); i++) { in _set_description_task()
5858 const GstSDPMedia *media = gst_sdp_message_get_media (remote_sdp->sdp, i); in _set_description_task()
5924 if (sd->sdp) in _free_set_description_data()
5925 gst_webrtc_session_description_free (sd->sdp); in _free_set_description_data()
5937 if (remote_sdp->sdp == NULL) in gst_webrtc_bin_set_remote_description()
5942 sd->sdp = gst_webrtc_session_description_copy (remote_sdp); in gst_webrtc_bin_set_remote_description()
5975 if (local_sdp->sdp == NULL) in gst_webrtc_bin_set_local_description()
5980 sd->sdp = gst_webrtc_session_description_copy (local_sdp); in gst_webrtc_bin_set_local_description()
6093 _add_ice_candidate_to_sdp (webrtc, webrtc->current_local_description->sdp, in _on_local_ice_candidate_task()
6096 _add_ice_candidate_to_sdp (webrtc, webrtc->pending_local_description->sdp, in _on_local_ice_candidate_task()