transmit delay time of RTP packet

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

transmit delay time of RTP packet

simba9
I write adaptive rtp server and client, i want get  transmit delay time of
RTP packet on client, how I can get it ?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: transmit delay time of RTP packet

omer.tal
This post was updated on .
Just to be clear? Are you trying to add a latency on the receiver's end?

If so you can use rtpjitterbuffer and set the latency with the ts-offset
property.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: transmit delay time of RTP packet

simba9
No, I want to know the delivery time of an RTP packet, on the client side.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: transmit delay time of RTP packet

simba9
In reply to this post by omer.tal
I need to get on the client, the time which is the difference between the
time the package was sent and the time the package was received



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: transmit delay time of RTP packet

omer.tal
Well RTP header doesn't contain clock data, it only stores playback
timestamp.

You could use the header extension and store the UTC time on it. Then read
it on the client side. But if you're trying to measure latency you would
need both clocks to be synced.

For adding data to the RTP header extension you'll need to add a probe to
the src pad of the rtp payloader.

I've commented on a similar topic just 2 days ago so you can look at the
code I shared there.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: transmit delay time of RTP packet

simba9
How can I synchronize the clock on the server and client? Is there an easy
way?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: transmit delay time of RTP packet

omer.tal
I don't think it's within Gstreamer's scope.

https://en.wikipedia.org/wiki/Clock_synchronization



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel