Home
last modified time | relevance | path

Searched refs:sdp (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/gstreamer/gstplugins_bad/ext/webrtc/
Dwebrtcsdp.c102 _check_sdp_crypto (SDPSource source, GstWebRTCSessionDescription * sdp, in _check_sdp_crypto() argument
109 key = gst_sdp_message_get_key (sdp->sdp); in _check_sdp_crypto()
117 gst_sdp_message_get_attribute_val (sdp->sdp, "fingerprint"); in _check_sdp_crypto()
118 for (i = 0; i < gst_sdp_message_medias_len (sdp->sdp); i++) { in _check_sdp_crypto()
119 const GstSDPMedia *media = gst_sdp_message_get_media (sdp->sdp, i); in _check_sdp_crypto()
281 GstWebRTCSessionDescription * sdp, GError ** error) in validate_sdp() argument
288 if (!_check_valid_state_for_sdp_change (state, source, sdp->type, error)) in validate_sdp()
290 if (!_check_sdp_crypto (source, sdp, error)) in validate_sdp()
295 group = gst_sdp_message_get_attribute_val (sdp->sdp, "group"); in validate_sdp()
300 for (i = 0; i < gst_sdp_message_medias_len (sdp->sdp); i++) { in validate_sdp()
[all …]
Dwebrtcsdp.h43 … GstWebRTCSessionDescription * sdp,
85 … _get_ice_credentials_from_sdp_media (const GstSDPMessage * sdp,
99 gboolean _get_bundle_index (GstSDPMessage * sdp,
103 gboolean _parse_bundle (GstSDPMessage * sdp,
115 gboolean _media_is_bundle_only (const GstSDPMedia * sdp);
Dutils.c56 return webrtc->current_local_description->sdp; in _get_latest_offer()
60 return webrtc->current_remote_description->sdp; in _get_latest_offer()
71 return webrtc->current_local_description->sdp; in _get_latest_answer()
75 return webrtc->current_remote_description->sdp; in _get_latest_answer()
98 return webrtc->priv->last_generated_answer->sdp; in _get_latest_self_generated_sdp()
100 return webrtc->priv->last_generated_offer->sdp; in _get_latest_self_generated_sdp()
Dgstwebrtcbin.c1542 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()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/webrtc/
Drtcsessiondescription.c78 gst_sdp_message_copy (src->sdp, &ret->sdp); in gst_webrtc_session_description_copy()
94 gst_sdp_message_free (desc->sdp); in gst_webrtc_session_description_free()
107 gst_webrtc_session_description_new (GstWebRTCSDPType type, GstSDPMessage * sdp) in gst_webrtc_session_description_new() argument
114 ret->sdp = sdp; in gst_webrtc_session_description_new()
Drtcsessiondescription.h46 GstSDPMessage *sdp; member
50 …iption * gst_webrtc_session_description_new (GstWebRTCSDPType type, GstSDPMessage *sdp);
/third_party/gstreamer/gstplugins_bad/gst/sdp/
Dgstsdpdemux.h45 #define GST_SDP_STREAM_GET_LOCK(sdp) (&GST_SDP_DEMUX_CAST(sdp)->stream_rec_lock) argument
46 #define GST_SDP_STREAM_LOCK(sdp) (g_rec_mutex_lock (GST_SDP_STREAM_GET_LOCK(sdp))) argument
47 #define GST_SDP_STREAM_UNLOCK(sdp) (g_rec_mutex_unlock (GST_SDP_STREAM_GET_LOCK(sdp))) argument
Dgstsdpsrc.c58 g_free (self->sdp); in gst_sdp_src_finalize()
74 g_value_set_string (value, self->sdp); in gst_sdp_src_get_property()
94 g_free (self->sdp); in gst_sdp_src_set_property()
95 self->sdp = g_value_dup_string (value); in gst_sdp_src_set_property()
162 } else if (self->sdp) { in gst_sdp_src_change_state()
163 guint sdp_len = strlen (self->sdp); in gst_sdp_src_change_state()
166 gst_buffer_new_wrapped (g_strndup (self->sdp, sdp_len), in gst_sdp_src_change_state()
Dgstsdpdemux.c387 gst_sdp_demux_create_stream (GstSDPDemux * demux, GstSDPMessage * sdp, gint idx) in gst_sdp_demux_create_stream() argument
395 media = gst_sdp_message_get_media (sdp, idx); in gst_sdp_demux_create_stream()
440 if (!(conn = gst_sdp_message_get_connection (sdp))) { in gst_sdp_demux_create_stream()
1078 GstSDPMessage sdp = { 0 }; in gst_sdp_demux_start() local
1095 gst_sdp_message_init (&sdp); in gst_sdp_demux_start()
1096 if (gst_sdp_message_parse_buffer (data, size, &sdp) != GST_SDP_OK) in gst_sdp_demux_start()
1100 gst_sdp_message_dump (&sdp); in gst_sdp_demux_start()
1108 control = gst_sdp_message_get_attribute_val_n (&sdp, "control", i); in gst_sdp_demux_start()
1120 n_streams = gst_sdp_message_medias_len (&sdp); in gst_sdp_demux_start()
1126 media = gst_sdp_message_get_media (&sdp, idx); in gst_sdp_demux_start()
[all …]
/third_party/ffmpeg/libavformat/
Drtspenc.c50 char *sdp; in ff_rtsp_setup_output_streams() local
58 sdp = av_mallocz(SDP_MAX_SIZE); in ff_rtsp_setup_output_streams()
59 if (!sdp) in ff_rtsp_setup_output_streams()
78 if (av_sdp_create(ctx_array, 1, sdp, SDP_MAX_SIZE)) { in ff_rtsp_setup_output_streams()
79 av_free(sdp); in ff_rtsp_setup_output_streams()
82 av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", sdp); in ff_rtsp_setup_output_streams()
85 reply, NULL, sdp, strlen(sdp)); in ff_rtsp_setup_output_streams()
86 av_free(sdp); in ff_rtsp_setup_output_streams()
Dsapdec.c41 char *sdp; member
58 av_freep(&sap->sdp); in sap_read_close()
143 sap->sdp = av_strdup(&recvbuf[pos]); in sap_read_header()
144 if (!sap->sdp) { in sap_read_header()
151 av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", sap->sdp); in sap_read_header()
152 ffio_init_context(&sap->sdp_pb, sap->sdp, strlen(sap->sdp), 0, NULL, NULL, in sap_read_header()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/sdp/
Dmeson.build2 'sdp.h',
3 'sdp-prelude.h',
8 install_headers(gst_sdp_headers, subdir : 'gstreamer-1.0/gst/sdp/')
24 pkg_name = 'gstreamer-sdp-1.0'
35 gst_gir_extra_args = gir_init_section + [ '--c-include=gst/sdp/sdp.h' ]
/third_party/json/include/nlohmann/detail/input/
Dparser.hpp97 json_sax_dom_callback_parser<BasicJsonType> sdp(result, callback, allow_exceptions); in parse() local
98 sax_parse_internal(&sdp); in parse()
103 sdp.parse_error(m_lexer.get_position(), in parse()
110 if (sdp.is_errored()) in parse()
125 json_sax_dom_parser<BasicJsonType> sdp(result, allow_exceptions); in parse() local
126 sax_parse_internal(&sdp); in parse()
131 sdp.parse_error(m_lexer.get_position(), in parse()
137 if (sdp.is_errored()) in parse()
/third_party/curl/tests/data/
Dtest56825 Content-Type: application/sdp
69 u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
87 Content-Type: application/sdp
93 u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
102 Accept: application/sdp
Dtest310075 Accept: application/sdp
79 Accept: application/sdp
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dsdp.c32 static const gchar *sdp = "v=0\r\n" variable
197 gst_sdp_message_parse_buffer ((guint8 *) sdp, -1, message); in GST_START_TEST()
242 gst_sdp_message_parse_buffer ((guint8 *) sdp, length, message); in GST_START_TEST()
272 gst_sdp_message_parse_buffer ((guint8 *) sdp, length, message); in GST_START_TEST()
328 gst_sdp_message_parse_buffer ((guint8 *) sdp, length, message); in GST_START_TEST()
357 gst_sdp_message_parse_buffer ((guint8 *) sdp, length, message); in GST_START_TEST()
417 gst_sdp_message_parse_buffer ((guint8 *) sdp, length, message); in GST_START_TEST()
714 gst_sdp_message_parse_buffer ((guint8 *) sdp, length, message); in GST_START_TEST()
717 fail_unless (g_strcmp0 (serialized, sdp) == 0); in GST_START_TEST()
726 fail_unless (g_strcmp0 (serialized, sdp) == 0); in GST_START_TEST()
[all …]
/third_party/curl/tests/libtest/
Dlib568.c48 int sdp; in test() local
81 sdp = open(libtest_arg2, O_RDONLY); in test()
82 fstat(sdp, &file_info); in test()
83 close(sdp); in test()
/third_party/pulseaudio/src/modules/rtp/
Dmeson.build3 'sdp.c',
11 'sdp.h',
/third_party/gstreamer/gstplugins_good/tests/examples/rpicamsrc/
Dwebrtc-unidirectional-h264.c264 sdp_string = gst_sdp_message_as_text (offer->sdp); in on_offer_created_cb()
381 GstSDPMessage *sdp; in soup_websocket_message_cb() local
405 ret = gst_sdp_message_new (&sdp); in soup_websocket_message_cb()
410 strlen (sdp_string), sdp); in soup_websocket_message_cb()
417 sdp); in soup_websocket_message_cb()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspextension.h60 GstRTSPResult (*parse_sdp) (GstRTSPExtension *ext, GstSDPMessage *sdp, GstStructure *s);
95 GstRTSPResult gst_rtsp_extension_parse_sdp (GstRTSPExtension *ext, GstSDPMessage *sdp,
Dgstrtspextension.c129 gst_rtsp_extension_parse_sdp (GstRTSPExtension * ext, GstSDPMessage * sdp, in gst_rtsp_extension_parse_sdp() argument
137 res = iface->parse_sdp (ext, sdp, s); in gst_rtsp_extension_parse_sdp()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dwebrtcbin.c188 gchar *desc = gst_sdp_message_as_text (answer->sdp); in _on_answer_received()
262 gchar *desc = gst_sdp_message_as_text (offer->sdp); in _on_offer_received()
857 fail_unless_equals_int (gst_sdp_message_medias_len (desc->sdp), expected); in _count_num_sdp_media()
882 for (i = 0; i < gst_sdp_message_medias_len (desc->sdp); i++) { in on_sdp_media_direction()
883 const GstSDPMedia *media = gst_sdp_message_get_media (desc->sdp, i); in on_sdp_media_direction()
926 for (i = 0; i < gst_sdp_message_medias_len (desc->sdp); i++) { in on_sdp_media_no_duplicate_payloads()
927 const GstSDPMedia *media = gst_sdp_message_get_media (desc->sdp, i); in on_sdp_media_no_duplicate_payloads()
951 for (i = 0; i < gst_sdp_message_medias_len (desc->sdp); i++) { in on_sdp_media_count_formats()
952 const GstSDPMedia *media = gst_sdp_message_get_media (desc->sdp, i); in on_sdp_media_count_formats()
965 for (i = 0; i < gst_sdp_message_medias_len (desc->sdp); i++) { in on_sdp_media_setup()
[all …]
/third_party/json/include/nlohmann/
Djson.hpp4335 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions); in from_cbor() local
4337 …ia)>(std::move(ia), input_format_t::cbor).sax_parse(input_format_t::cbor, &sdp, strict, tag_handle… in from_cbor()
4351 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions); in from_cbor() local
4353 …ia)>(std::move(ia), input_format_t::cbor).sax_parse(input_format_t::cbor, &sdp, strict, tag_handle… in from_cbor()
4377 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions); in from_cbor() local
4380 …ia)>(std::move(ia), input_format_t::cbor).sax_parse(input_format_t::cbor, &sdp, strict, tag_handle… in from_cbor()
4393 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions); in from_msgpack() local
4395 …type(ia)>(std::move(ia), input_format_t::msgpack).sax_parse(input_format_t::msgpack, &sdp, strict); in from_msgpack()
4408 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions); in from_msgpack() local
4410 …type(ia)>(std::move(ia), input_format_t::msgpack).sax_parse(input_format_t::msgpack, &sdp, strict); in from_msgpack()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/webrtc/
Dwebrtcbidirectional.c92 desc = gst_sdp_message_as_text (answer->sdp); in _on_answer_received()
121 desc = gst_sdp_message_as_text (offer->sdp); in _on_offer_received()
Dwebrtc.c92 desc = gst_sdp_message_as_text (answer->sdp); in _on_answer_received()
114 desc = gst_sdp_message_as_text (offer->sdp); in _on_offer_received()

1234