/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | rtpstorage.c | 176 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in rtp_storage_append_buffer() local 190 GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtpbuf)) { in rtp_storage_append_buffer() 195 ssrc = gst_rtp_buffer_get_ssrc (&rtpbuf); in rtp_storage_append_buffer() 196 pt = gst_rtp_buffer_get_payload_type (&rtpbuf); in rtp_storage_append_buffer() 197 seq = gst_rtp_buffer_get_seq (&rtpbuf); in rtp_storage_append_buffer() 223 gst_rtp_buffer_unmap (&rtpbuf); in rtp_storage_append_buffer()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | rtprtx.c | 104 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in create_rtp_buffer() local 109 gst_rtp_buffer_map (buf, GST_MAP_WRITE, &rtpbuf); in create_rtp_buffer() 110 gst_rtp_buffer_set_ssrc (&rtpbuf, ssrc); in create_rtp_buffer() 111 gst_rtp_buffer_set_payload_type (&rtpbuf, payload_type); in create_rtp_buffer() 112 gst_rtp_buffer_set_seq (&rtpbuf, seqnum); in create_rtp_buffer() 113 gst_rtp_buffer_set_timestamp (&rtpbuf, (guint32) timestamp); in create_rtp_buffer() 114 memset (gst_rtp_buffer_get_payload (&rtpbuf), 0x29, payload_size); in create_rtp_buffer() 115 gst_rtp_buffer_unmap (&rtpbuf); in create_rtp_buffer() 123 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in create_rtp_buffer_with_timestamp() local 125 gst_rtp_buffer_map (buf, GST_MAP_WRITE, &rtpbuf); in create_rtp_buffer_with_timestamp() [all …]
|
D | dtmf.c | 133 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in send_rtp_packet() local 138 fail_unless (gst_rtp_buffer_map (buf, GST_MAP_READWRITE, &rtpbuf)); in send_rtp_packet() 139 gst_rtp_buffer_set_seq (&rtpbuf, seqnum++); in send_rtp_packet() 140 gst_rtp_buffer_set_timestamp (&rtpbuf, timestamp); in send_rtp_packet() 141 gst_rtp_buffer_set_marker (&rtpbuf, marker); in send_rtp_packet() 142 payload = gst_rtp_buffer_get_payload (&rtpbuf); in send_rtp_packet() 146 gst_rtp_buffer_unmap (&rtpbuf); in send_rtp_packet()
|
D | rtpbin.c | 716 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in GST_START_TEST() local 778 gst_rtp_buffer_map (rtp_buffer, GST_MAP_READWRITE, &rtpbuf); in GST_START_TEST() 779 gst_rtp_buffer_set_ssrc (&rtpbuf, 1); in GST_START_TEST() 780 gst_rtp_buffer_set_seq (&rtpbuf, 0); in GST_START_TEST() 781 gst_rtp_buffer_unmap (&rtpbuf); in GST_START_TEST() 795 gst_rtp_buffer_map (rtp_buffer, GST_MAP_READWRITE, &rtpbuf); in GST_START_TEST() 796 gst_rtp_buffer_set_ssrc (&rtpbuf, 1); in GST_START_TEST() 797 gst_rtp_buffer_set_seq (&rtpbuf, 1); in GST_START_TEST() 798 gst_rtp_buffer_set_timestamp (&rtpbuf, 10); in GST_START_TEST() 799 gst_rtp_buffer_unmap (&rtpbuf); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/ext/srtp/ |
D | gstsrtpdec.c | 802 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in validate_buffer() local 805 GST_MAP_READ | GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtpbuf)) { in validate_buffer() 806 if (gst_rtp_buffer_get_payload_type (&rtpbuf) < 64 in validate_buffer() 807 || gst_rtp_buffer_get_payload_type (&rtpbuf) > 80) { in validate_buffer() 808 *ssrc = gst_rtp_buffer_get_ssrc (&rtpbuf); in validate_buffer() 810 gst_rtp_buffer_unmap (&rtpbuf); in validate_buffer() 814 gst_rtp_buffer_unmap (&rtpbuf); in validate_buffer() 1364 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in gst_srtp_dec_decode_buffer() local 1367 GST_MAP_READ | GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtpbuf); in gst_srtp_dec_decode_buffer() 1368 seqnum = gst_rtp_buffer_get_seq (&rtpbuf); in gst_srtp_dec_decode_buffer() [all …]
|
D | gstsrtpenc.c | 1117 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in gst_srtp_enc_ensure_ssrc() local 1119 GST_MAP_READ | GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtpbuf)) { in gst_srtp_enc_ensure_ssrc() 1120 guint32 ssrc = gst_rtp_buffer_get_ssrc (&rtpbuf); in gst_srtp_enc_ensure_ssrc() 1122 gst_rtp_buffer_unmap (&rtpbuf); in gst_srtp_enc_ensure_ssrc()
|
/third_party/gstreamer/gstplugins_good/gst/dtmf/ |
D | gstrtpdtmfsrc.c | 534 GstRTPBuffer * rtpbuf) in gst_rtp_dtmf_prepare_rtp_headers() argument 536 gst_rtp_buffer_set_ssrc (rtpbuf, dtmfsrc->current_ssrc); in gst_rtp_dtmf_prepare_rtp_headers() 537 gst_rtp_buffer_set_payload_type (rtpbuf, dtmfsrc->pt); in gst_rtp_dtmf_prepare_rtp_headers() 540 gst_rtp_buffer_set_marker (rtpbuf, TRUE); in gst_rtp_dtmf_prepare_rtp_headers() 544 gst_rtp_buffer_set_seq (rtpbuf, dtmfsrc->seqnum); in gst_rtp_dtmf_prepare_rtp_headers() 547 gst_rtp_buffer_set_timestamp (rtpbuf, dtmfsrc->rtp_timestamp); in gst_rtp_dtmf_prepare_rtp_headers()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/ |
D | gstrtpbasedepayload.c | 1092 add_rtp_source_meta (GstBuffer * outbuf, GstBuffer * rtpbuf) in add_rtp_source_meta() argument 1099 if (!gst_rtp_buffer_map (rtpbuf, GST_MAP_READ, &rtp)) in add_rtp_source_meta()
|
/third_party/gstreamer/gstplugins_bad/ext/webrtc/ |
D | gstwebrtcbin.c | 448 GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; in webrtc_bin_pad_buffer_cb() local 462 if (!gst_rtp_buffer_map (buf, GST_MAP_READ, &rtpbuf)) in webrtc_bin_pad_buffer_cb() 466 wpad->last_ssrc = gst_rtp_buffer_get_ssrc (&rtpbuf); in webrtc_bin_pad_buffer_cb() 468 gst_rtp_buffer_unmap (&rtpbuf); in webrtc_bin_pad_buffer_cb()
|