Using GStreamer to Convert WAV -> RTP Results in Low-Quality RTP Stream

Nicolas Dufresne nicolas at ndufresne.ca
Tue May 16 19:23:21 UTC 2017


Le mardi 16 mai 2017 à 19:01 +0200, Peter Maersk-Moller a écrit :
> You could try setting the correct payload type for 2 channels 44100Hz
> L16. I might work
> See RFC3551. Or see IANAs list of allocated payload types
> https://www.iana.org/assignments/rtp-parameters/rtp-
> parameters.xhtml#rtp-parameters-1

Though allocated payload types should be usable.

> > v=0
> > o=root IN IP4 127.0.0.1
> > c=IN IP4 127.0.0.1
> > s=My Name
> > m=audio 12008 RTP/AVP 96
> > a=rtpmap:96 L16/44100

You should use "a=rtpmap:96 L16/44100/2" to signal that you have 2
channels.

regards,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170516/9aef564e/attachment.sig>


More information about the gstreamer-devel mailing list