Hello. I'm trying to stream from my remote device video, using h.264 codec to 
Firefox. Respectively i'm using h264 firefox's plugin. My command from 
gstreamer from remote device is:

gst-launch v4l2src always-copy=false chain-ipipe=true ! 
video/x-raw-yuv,format='(fourcc)'NV12, width=640, height=480, 
framerate='(fraction)'15/1 ! dmaiaccel ! dmaienc_h264 ddrbuf=true 
encodingpreset=2 profile=66 level=31 entropy=0 t8x8intra=0 aud=false 
headers=false bytestream=false seqscaling=0 ratecontrol=1 maxbitrate=4000000 
targetbitrate=2000000 intraframeinterval=2 idrinterval=1 ! rtph264pay 
config-interval=1 ! queue ! udpsink port=3000 host=192.168.1.16 sync=false

I able to catch them, using gstreamer on my local machine:

gst-launch udpsrc port=3000 ! "application/x-rtp, media=(string)video, 
clock-rate=(int)90000, encoding-name=(string)H264, 
sprop-parameter-sets=(string)\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\,aO48sA\=\=\",
 payload=(int)96" ! rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! 
videoscale ! ximagesink sync=false show-preroll-frame=false

And it works perfect without any delay. But when i try to catch the stream 
using firefox's h264 plugin (using janus-gateway to generate SDP), my video 
playing with huge delay. And that delay alway increases. Any thoughts about 
that?
P.S. If i try to stream from my local machine, using x264 library to firefox, 
it works perfect. Is it because dmaienc_h264 can't negotiate with firefox's 
h264 plugin properly?
Thanks, regards.
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to