Home
last modified time | relevance | path

Searched refs:rtcp (Results 1 – 25 of 32) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtcpbuffer.c307 GstRTCPBuffer * rtcp) in gst_rtcp_buffer_map() argument
309 g_return_val_if_fail (rtcp != NULL, FALSE); in gst_rtcp_buffer_map()
310 g_return_val_if_fail (rtcp->buffer == NULL, FALSE); in gst_rtcp_buffer_map()
314 rtcp->buffer = buffer; in gst_rtcp_buffer_map()
315 gst_buffer_map (buffer, &rtcp->map, flags); in gst_rtcp_buffer_map()
331 gst_rtcp_buffer_unmap (GstRTCPBuffer * rtcp) in gst_rtcp_buffer_unmap() argument
333 g_return_val_if_fail (rtcp != NULL, FALSE); in gst_rtcp_buffer_unmap()
334 g_return_val_if_fail (GST_IS_BUFFER (rtcp->buffer), FALSE); in gst_rtcp_buffer_unmap()
336 if (rtcp->map.flags & GST_MAP_WRITE) { in gst_rtcp_buffer_unmap()
338 gst_buffer_resize (rtcp->buffer, 0, rtcp->map.size); in gst_rtcp_buffer_unmap()
[all …]
Dgstrtcpbuffer.h300 GstRTCPBuffer *rtcp; member
339 … gst_rtcp_buffer_map (GstBuffer *buffer, GstMapFlags flags, GstRTCPBuffer *rtcp);
342 gboolean gst_rtcp_buffer_unmap (GstRTCPBuffer *rtcp);
347 guint gst_rtcp_buffer_get_packet_count (GstRTCPBuffer *rtcp);
350 gboolean gst_rtcp_buffer_get_first_packet (GstRTCPBuffer *rtcp, GstRTCPPacket *packet);
356 gboolean gst_rtcp_buffer_add_packet (GstRTCPBuffer *rtcp, GstRTCPType type,
/third_party/ffmpeg/libavformat/
Dsrtp.c133 int rtcp, hmac_size; in ff_srtp_decrypt() local
140 rtcp = RTP_PT_IS_RTCP(buf[1]); in ff_srtp_decrypt()
141 hmac_size = rtcp ? s->rtcp_hmac_size : s->rtp_hmac_size; in ff_srtp_decrypt()
147 av_hmac_init(s->hmac, rtcp ? s->rtcp_auth : s->rtp_auth, sizeof(s->rtp_auth)); in ff_srtp_decrypt()
151 if (!rtcp) { in ff_srtp_decrypt()
190 if (rtcp) { in ff_srtp_decrypt()
231 create_iv(iv, rtcp ? s->rtcp_salt : s->rtp_salt, index, ssrc); in ff_srtp_decrypt()
232 av_aes_init(s->aes, rtcp ? s->rtcp_key : s->rtp_key, 128, 0); in ff_srtp_decrypt()
244 int rtcp, hmac_size, padding; in ff_srtp_encrypt() local
250 rtcp = RTP_PT_IS_RTCP(in[1]); in ff_srtp_encrypt()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Drtp.c798 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in GST_START_TEST() local
808 gst_rtcp_buffer_map (buf, GST_MAP_READWRITE, &rtcp); in GST_START_TEST()
811 fail_unless (gst_rtcp_buffer_get_first_packet (&rtcp, &packet) == FALSE); in GST_START_TEST()
812 fail_unless (gst_rtcp_buffer_get_packet_count (&rtcp) == 0); in GST_START_TEST()
815 fail_unless (gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_SR, in GST_START_TEST()
843 fail_unless (gst_rtcp_buffer_get_first_packet (&rtcp, &packet) == TRUE); in GST_START_TEST()
853 fail_unless (gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_SDES, in GST_START_TEST()
860 fail_unless (gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_BYE, in GST_START_TEST()
872 fail_unless (gst_rtcp_buffer_get_first_packet (&rtcp, &packet) == TRUE); in GST_START_TEST()
890 gst_rtcp_buffer_unmap (&rtcp); in GST_START_TEST()
[all …]
Dgstlibscpp.cc108 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in GST_START_TEST() local
112 fail_unless_equals_int (rtcp.map.size, 0); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpsession.c368 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in GST_START_TEST() local
394 gst_rtcp_buffer_map (out_buf, GST_MAP_READ, &rtcp); in GST_START_TEST()
395 g_assert (gst_rtcp_buffer_get_first_packet (&rtcp, &rtcp_packet)); in GST_START_TEST()
414 gst_rtcp_buffer_unmap (&rtcp); in GST_START_TEST()
430 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in GST_START_TEST() local
466 gst_rtcp_buffer_map (buf, GST_MAP_READ, &rtcp); in GST_START_TEST()
467 fail_unless (gst_rtcp_buffer_get_first_packet (&rtcp, &rtcp_packet)); in GST_START_TEST()
494 gst_rtcp_buffer_unmap (&rtcp); in GST_START_TEST()
515 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in GST_START_TEST() local
542 gst_rtcp_buffer_map (buf, GST_MAP_READ, &rtcp); in GST_START_TEST()
[all …]
Drtpcollision.c86 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in create_rtcp_app() local
97 gst_rtcp_buffer_map (rtcp_buffer, GST_MAP_READWRITE, &rtcp); in create_rtcp_app()
99 gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_RR, rtcp_packet); in create_rtcp_app()
105 gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_APP, rtcp_packet); in create_rtcp_app()
107 gst_rtcp_buffer_unmap (&rtcp); in create_rtcp_app()
Drtpssrcdemux.c371 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in generate_rtcp_sr_buffer() local
375 fail_unless (gst_rtcp_buffer_map (buf, GST_MAP_READWRITE, &rtcp)); in generate_rtcp_sr_buffer()
376 fail_unless (gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_SR, &packet)); in generate_rtcp_sr_buffer()
378 gst_rtcp_buffer_unmap (&rtcp); in generate_rtcp_sr_buffer()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpsession.c2705 data_buffer = gst_buffer_copy_region (packet->rtcp->buffer, in rtp_session_process_app()
2706 GST_BUFFER_COPY_MEMORY, data - packet->rtcp->map.data, data_length); in rtp_session_process_app()
2942 fci_buffer = gst_buffer_copy_region (packet->rtcp->buffer, in rtp_session_process_feedback()
2943 GST_BUFFER_COPY_MEMORY, fci_data - packet->rtcp->map.data, in rtp_session_process_feedback()
3029 GstRTCPBuffer rtcp = { NULL, }; in rtp_session_process_rtcp() local
3048 gst_rtcp_buffer_map (buffer, GST_MAP_READ, &rtcp); in rtp_session_process_rtcp()
3049 more = gst_rtcp_buffer_get_first_packet (&rtcp, &packet); in rtp_session_process_rtcp()
3091 gst_rtcp_buffer_unmap (&rtcp); in rtp_session_process_rtcp()
3550 GstBuffer *rtcp; member
3568 GstRTCPBuffer *rtcp = &data->rtcpbuf; in session_start_rtcp() local
[all …]
Drtptwcc.c731 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in rtp_twcc_manager_create_feedback() local
736 gst_rtcp_buffer_map (buf, GST_MAP_READWRITE, &rtcp); in rtp_twcc_manager_create_feedback()
738 gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_RTPFB, &packet); in rtp_twcc_manager_create_feedback()
747 gst_rtcp_buffer_unmap (&rtcp); in rtp_twcc_manager_create_feedback()
875 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in _change_rtcp_fb_sender_ssrc() local
877 gst_rtcp_buffer_map (buf, GST_MAP_READWRITE, &rtcp); in _change_rtcp_fb_sender_ssrc()
878 gst_rtcp_buffer_get_first_packet (&rtcp, &packet); in _change_rtcp_fb_sender_ssrc()
880 gst_rtcp_buffer_unmap (&rtcp); in _change_rtcp_fb_sender_ssrc()
Dgstrtpssrcdemux.c725 GstRTCPBuffer rtcp = { NULL, }; in gst_rtp_ssrc_demux_rtcp_chain() local
733 gst_rtcp_buffer_map (buf, GST_MAP_READ, &rtcp); in gst_rtp_ssrc_demux_rtcp_chain()
734 if (!gst_rtcp_buffer_get_first_packet (&rtcp, &packet)) { in gst_rtp_ssrc_demux_rtcp_chain()
735 gst_rtcp_buffer_unmap (&rtcp); in gst_rtp_ssrc_demux_rtcp_chain()
761 gst_rtcp_buffer_unmap (&rtcp); in gst_rtp_ssrc_demux_rtcp_chain()
Dgstrtpjitterbuffer.c4360 GstRTCPBuffer rtcp = { NULL, }; in gst_rtp_jitter_buffer_chain_rtcp() local
4369 gst_rtcp_buffer_map (buffer, GST_MAP_READ, &rtcp); in gst_rtp_jitter_buffer_chain_rtcp()
4371 if (!gst_rtcp_buffer_get_first_packet (&rtcp, &packet)) in gst_rtp_jitter_buffer_chain_rtcp()
4383 gst_rtcp_buffer_unmap (&rtcp); in gst_rtp_jitter_buffer_chain_rtcp()
4417 gst_rtcp_buffer_unmap (&rtcp); in gst_rtp_jitter_buffer_chain_rtcp()
4424 gst_rtcp_buffer_unmap (&rtcp); in gst_rtp_jitter_buffer_chain_rtcp()
Dgstrtpbin.c1705 GstRTCPBuffer rtcp = { NULL, }; in gst_rtp_bin_handle_sync() local
1727 gst_rtcp_buffer_map (buffer, GST_MAP_READ, &rtcp); in gst_rtp_bin_handle_sync()
1729 GST_RTCP_BUFFER_FOR_PACKETS (more, &rtcp, &packet) { in gst_rtp_bin_handle_sync()
1789 gst_rtcp_buffer_unmap (&rtcp); in gst_rtp_bin_handle_sync()
Drtpsource.c1950 buffer = gst_buffer_copy_region (packet->rtcp->buffer, GST_BUFFER_COPY_MEMORY, in rtp_source_retain_rtcp_packet()
/third_party/gstreamer/gstplugins_bad/gst/rist/
Dgstristsink.c312 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in on_receiving_rtcp() local
314 if (gst_rtcp_buffer_map (buffer, GST_MAP_READ, &rtcp)) { in on_receiving_rtcp()
317 if (gst_rtcp_buffer_get_first_packet (&rtcp, &packet)) { in on_receiving_rtcp()
362 gst_rtcp_buffer_unmap (&rtcp); in on_receiving_rtcp()
Dgstristsrc.c271 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in gst_rist_src_on_sending_nacks() local
287 gst_rtcp_buffer_map (buffer, GST_MAP_READWRITE, &rtcp); in gst_rist_src_on_sending_nacks()
288 if (!gst_rtcp_buffer_add_packet (&rtcp, GST_RTCP_TYPE_APP, &packet)) in gst_rist_src_on_sending_nacks()
351 gst_rtcp_buffer_unmap (&rtcp); in gst_rist_src_on_sending_nacks()
/third_party/gstreamer/gstplugins_bad/ext/srtp/
Dgstsrtpdec.c708 &policy.rtcp); in init_session_stream()
Dgstsrtpenc.c432 &policy.rtcp); in gst_srtp_enc_create_session()
/third_party/gstreamer/gstplugins_bad/ext/webrtc/
Dgstwebrtcbin.c1963 GstRTCPBuffer rtcp = GST_RTCP_BUFFER_INIT; in _on_sending_rtcp() local
1966 if (!gst_rtcp_buffer_map (buffer, GST_MAP_READ, &rtcp)) in _on_sending_rtcp()
1969 if (gst_rtcp_buffer_get_first_packet (&rtcp, &packet)) { in _on_sending_rtcp()
1999 gst_rtcp_buffer_unmap (&rtcp); in _on_sending_rtcp()
/third_party/python/Lib/test/
Dmime.types943 application/vq-rtcp-xr
/third_party/gstreamer/gstplugins_good/gst/rtsp/
Dgstrtspsrc.c8431 gst_rtspsrc_handle_rtcp_interval (GstRTSPSrc * src, gchar * rtcp) in gst_rtspsrc_handle_rtcp_interval() argument
8436 interval = strtoul (rtcp, NULL, 10); in gst_rtspsrc_handle_rtcp_interval()
/third_party/gstreamer/gstplugins_bad/
DNEWS1455 (gst_rtsp_media_factory_set_enable_rtcp(), "enable-rtcp" property).
/third_party/gstreamer/gstplugins_base/
DNEWS1455 (gst_rtsp_media_factory_set_enable_rtcp(), "enable-rtcp" property).
/third_party/gstreamer/gstplugins_good/
DNEWS1455 (gst_rtsp_media_factory_set_enable_rtcp(), "enable-rtcp" property).
/third_party/gstreamer/gstreamer/
DNEWS1455 (gst_rtsp_media_factory_set_enable_rtcp(), "enable-rtcp" property).

12