webrtc demos
Pascal Jacquemart
pascal at fluffyspider.com
Sun Apr 19 23:54:32 UTC 2020
Hi Fabio,
First of all it could be a bandwidth problem.
Because the GStreamer implementation does not do adaptive streaming. In general your RTSP camera will try to use much more bandwidth than the videotestsrc (even for the same resolution).
Also I think RSTP and WebRTC are both using RTP but in slightly different ways. So you might need to add rtph264depay ! rtph264pay to make it work. You can try to dump the SDP offer in both case to compare.
No idea about your problem on ARM.
> Le 18 avr. 2020 à 17:14, Fabio Zingaro <fabio.zingaro at gmail.com> a écrit :
>
> Hi all,
>
> no one has ideas and suggestions?
>
> Il giorno mar 14 apr 2020 alle ore 16:18 Fabio Zingaro <fabio.zingaro at gmail.com <mailto:fabio.zingaro at gmail.com>> ha scritto:
> Hi Stephenwei,
>
> yes, i've no error on webrtc part.
> Please note that with this chain i receive the video test stream without problems.
>
> receiver_entry->pipeline = gst_parse_launch ("webrtcbin name=webrtcbin stun-server=stun://" STUN_SERVER " "
> " videotestsrc ! "
> " video/x-raw,width=640,height=360,framerate=15/1 ! videoconvert ! queue max-size-buffers=1 ! x264enc bitrate=600 speed-preset=ultrafast tune=zerolatency key-int-max$
> "rtph264pay config-interval=-1 name=payloader ! "
> "application/x-rtp,media=video,encoding-name=H264,payload="
> RTP_PAYLOAD_TYPE " ! webrtcbin. ", &error);
>
>
>
>
>
> Il giorno mar 14 apr 2020 alle ore 03:21 Stephenwei <lofy.stephen at gmail.com <mailto:lofy.stephen at gmail.com>> ha scritto:
> receiver_entry->pipeline = gst_parse_launch (" rtspsrc location=//" RTSPSRC "
> "
> "! webrtcbin name=webrtcbin stun-server=stun://" STUN_SERVER " "
> "! queue ! rtph264depay ! rtph264pay !
> application/x-rtp,media=video,encoding-name=H264,payload=96 ! webrtcbin. ",
> &error);
>
> webrtcbin <--- Make sure gst-inspect-1.0 can find this element.
>
>
>
> -----
> GStreamer is a convenient multimedia platform, I like it.
> Develop the NVR system on ARM/x86(c/python)
> Use python to generate NVR is crazy, of course works fine.
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/ <http://gstreamer-devel.966125.n4.nabble.com/>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200420/1917511c/attachment.htm>
More information about the gstreamer-devel
mailing list