Losing Packets When trasmitting data over UDP through RTP.

wilson1994 thomas_bliss at hotmail.be
Thu Aug 8 07:09:33 UTC 2019


Hi,

For people experiencing this problem: when depayloading with rtpgstdepay
your application needs a "caps string". you can find this by printing the
caps of the rtpgstpay element at the transmitter, eg:

 application/x-rtp, media=(string)application, clock-rate=(int)90000,
encoding-name=(string)X-GST,
caps=(string)"dmlkZW8veC1yYXcsIGZvcm1hdD0oc3RyaW5nKUdSQVk4LCB3aWR0aD0oaW50KTY0MCwgaGVpZ2h0PShpbnQpNDYwLCBpbnRlcmxhY2UtbW9kZT0oc3RyaW5nKXByb2dyZXNzaXZlLCBwaXhlbC1hc3BlY3QtcmF0aW89KGZyYWN0aW9uKTEvMSwgY29sb3JpbWV0cnk9KHN0cmluZykxOjQ6MDowLCBmcmFtZXJhdGU9KGZyYWN0aW9uKTI1LzE\=",
capsversion=(string)0, payload=(int)96, ssrc=(uint)1971573585,
timestamp-offset=(uint)4106561678, seqnum-offset=(uint)18771,
a-framerate=(string)25;

Here the caps string is 
"dmlkZW8veC1yYXcsIGZvcm1hdD0oc3RyaW5nKUdSQVk4LCB3aWR0aD0oaW50KTY0MCwgaGVpZ2h0PShpbnQpNDYwLCBpbnRlcmxhY2UtbW9kZT0oc3RyaW5nKXByb2dyZXNzaXZlLCBwaXhlbC1hc3BlY3QtcmF0aW89KGZyYWN0aW9uKTEvMSwgY29sb3JpbWV0cnk9KHN0cmluZykxOjQ6MDowLCBmcmFtZXJhdGU9KGZyYWN0aW9uKTI1LzE\="
.

Note that when adding this caps string to your capsfilter at the receiver,
you should add a null terminator ( \0 ) to the end of the string. That
explains your warnings: either it complains that the caps string is missing,
or that it is not null terminated.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list