mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
some RTP debug
Original commit message from CVS: some RTP debug
This commit is contained in:
parent
754ba31af2
commit
bc510bf9b8
1 changed files with 2 additions and 0 deletions
|
@ -381,6 +381,7 @@ gst_basertppayload_push (GstBaseRTPPayload * payload, GstBuffer * buffer)
|
||||||
/* update first, so that the property is set to the last
|
/* update first, so that the property is set to the last
|
||||||
* seqnum pushed */
|
* seqnum pushed */
|
||||||
payload->seqnum++;
|
payload->seqnum++;
|
||||||
|
GST_LOG_OBJECT (payload, "setting RTP seqnum %d", payload->seqnum);
|
||||||
gst_rtp_buffer_set_seq (buffer, payload->seqnum);
|
gst_rtp_buffer_set_seq (buffer, payload->seqnum);
|
||||||
|
|
||||||
/* add our random offset to the timestamp */
|
/* add our random offset to the timestamp */
|
||||||
|
@ -397,6 +398,7 @@ gst_basertppayload_push (GstBaseRTPPayload * payload, GstBuffer * buffer)
|
||||||
|
|
||||||
ts += rtime;
|
ts += rtime;
|
||||||
}
|
}
|
||||||
|
GST_LOG_OBJECT (payload, "setting RTP timestamp %d", ts);
|
||||||
gst_rtp_buffer_set_timestamp (buffer, ts);
|
gst_rtp_buffer_set_timestamp (buffer, ts);
|
||||||
|
|
||||||
payload->timestamp = ts;
|
payload->timestamp = ts;
|
||||||
|
|
Loading…
Reference in a new issue