PCMA 16000 streaming

177 views
Skip to first unread message

Mykola Popko

unread,
Dec 18, 2014, 6:44:16 AM12/18/14
to meetech...@googlegroups.com
Hello!
Is it possible to stream with janus G.711 (PCMA) audio with rate 16kHZ?
I've been trying with such config:
...
audio
= yes
audioport
= 3001
audiopt
= 8
audiortpmap
= PCMA/16000/1
...

But it not working. Instead, 8000 working as well. So is it possible to do that with 16000? Or maybe you can help me with my gstreamer pipeline to decrease rate to 8000? I've been asked how to do that in SO: http://stackoverflow.com/questions/27542521/gstreamer-g711-rate-decrease-to-8000, but still no answer.

Thanks, regards.

Lorenzo Miniero

unread,
Dec 18, 2014, 6:48:15 AM12/18/14
to meetech...@googlegroups.com
The payload type 8 is statically assigned to PCMA 8kHz. PCMA 16kHz (PCMA-WB) must be negotiated dynamically using another pt:
I don't think browsers support this, though.

L.

Mykola Popko

unread,
Dec 18, 2014, 6:53:13 AM12/18/14
to meetech...@googlegroups.com
Thanks, Lorenzo for such quick answer.
Yes, i've been tested PCMA-WB with janus but it didn't work too. So the last chance is to convert stream to 8kHz with my gstreamer's pipeline. But how to do that... I didn't find any info :(

Четвер, 18 грудня 2014 р. 13:48:15 UTC+2 користувач Lorenzo Miniero написав:

Lorenzo Miniero

unread,
Dec 18, 2014, 6:54:04 AM12/18/14
to meetech...@googlegroups.com
That's something you'll have to ask gstreamer developers, I'm afraid...

L.
Reply all
Reply to author
Forward
0 new messages