WebRTC send audio/video with vp8 from RaspberryPi
s0h0
trad0r at gmx.de
Fri Aug 7 18:36:30 PDT 2015
Thank you for the help.
Main issue was the audio for me, now it is working for me with audio and
video.
Looks like h264 is much simpler to use, and VP8 wont have a good performance
on RaspberryPi.
I have a low badwidth of 1720kBit/s downstream and 400kBit/s upstream. I get
a low of NACKS in Janus and gstream shows me an error after a while. Might
the badwitdth the problem? Have you andy idea how to improve performance of
the pipes?
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Can't
record audio fast enough
Additional debug info:
gstaudiobasesrc.c(857): gst_audio_base_src_create ():
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0:
Dropped 4240 samples. This is most likely because downstream can't keep up
and is consuming samples too slowly.
This is how audio and video is working for me (video has a lot freezes and
audio i can hear just fragments...)
#!/bin/bash -e
/
gst-launch-1.0 -v alsasrc device=plughw:Set ! mulawenc ! rtppcmupay !
udpsink host=137.116.196.147 port=8003 &
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=8005/
Thank you!
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/WebRTC-send-audio-video-with-vp8-from-RaspberryPi-tp4673026p4673059.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list