WebRTC send audio/video with vp8 from RaspberryPi

Nicolas Dufresne nicolas.dufresne at collabora.com
Fri Aug 7 07:24:23 PDT 2015


Le jeudi 06 août 2015 à 18:15 -0700, s0h0 a écrit :
> Hello,
> 
> Im sending my camera video stream to janus signaling server with this
> pipeline for h264:
> raspivid -n -w 640 -h 480 -b 100000 -fps 2 -vf -hf -t 0 -pf baseline 
> -o - |
> gst-launch-1.0 -v fdsrc fd=0 ! h264parse !  rtph264pay config
> -interval=2
> pt=126 ! udpsink host=137.116.196.147 port=8004

I would like to recommand using rpicamsrc from 
https://github.com/thaytan/gst-rpicamsrc . It's more efficient.

> 
> In order to support audio i would like to change the streaming to VP8 
> with
> audio support.

VP8 is a video codec, it's not going to help you with audio. What you
should do is simply to capture audio, encode it the way you want (like
opusenc) RTP payload it and send it over it's own port. I'm not sure
if/how janus will figure-out, I support you are crafting an SDP ?

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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/a3155219/attachment-0001.sig>


More information about the gstreamer-devel mailing list