[webkit-qt] running a network video stream in webkit
Konstantin Tokarev
annulen at yandex.ru
Thu Oct 31 02:27:41 PDT 2013
31.10.2013, 13:05, "Thomas Scheuermann" <scheuermann at barco.com>:
> Hello,
>
> I would like to run a network video stream in webkit.
> I first tried it with a file:
>
> <video autoplay >
> <source src="BigBuckBunny.ogv">
> </video>
>
> This works and the video starts playing.
> If I use:
>
> <video autoplay >
> <source
> src="rtsp://192.168.180.22/axis-media/media.amp?videocodec=h264">
> </video>
>
> the video doesn't start.
> I can see that the stream is running, if I do:
>
> gst-launch-1.0 playbin
> uri=rtsp://192.168.180.22/axis-media/media.amp?videocodec=h264
>
> the video is playing.
> Webkit also uses the gstreamer-1.0 libraries.
>
> What can I do to get this playing?
HTML5 does not specify what protocols can be used for media sources, so your HTML is correct and could work if MediaPlayer implementation supported RTSP. You need to debug what's going on inside Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp - does gstreamer receive proper URL and if its API is used properly for RTSP case.
--
Regards,
Konstantin
More information about the webkit-qt
mailing list