Igalia / meta-webkit

Yocto / OpenEmbedded layer for WebKit based engines and browsers
MIT License
125 stars 67 forks source link

video src=rtsp:// #449

Closed mickdev closed 1 year ago

mickdev commented 1 year ago

Hello,

With a raspberry pi 4 build.

I try to get a page to display html with cog a

XDG_RUNTIME_DIR=/var/run/user/root cog -O renderer=gles file:///storage/content/index.html

index.html <video style="width:100%;height:100%;" autostart autplay muted src="rtsp://xxx:xxxx@192.168.1.19/axis-media/media.amp" ></video>

It does not work !

if i do a run of gstreamer play

XDG_RUNTIME_DIR=/var/run/user/root gst-play-1.0 rtsp://xxx:xxxx@192.168.1.19/axis-media/media.amp

It work !

Note, if i set "export GST_DEBUG=3", i have no message from gstreamer (only this) when i run cog 0:00:00.063635951 13762 0x16f5120 WARN webkitregistryscanner GStreamerRegistryScanner.cpp:211:hasElementForCaps: All video encoder elements matching caps video/x-av1 are disallowed 0:00:00.073386272 13762 0x16f5120 WARN webkitregistryscanner GStreamerRegistryScanner.cpp:211:hasElementForCaps: All video encoder elements matching caps video/x-av1 are disallowed when i rung gst-play-1.0 i got a lot of (normal) message,


Any idea ? it was working on old version with WPELauncher ..with raspberry pi 3 ( sometimes ago :) ).

clopez commented 1 year ago

does it work if you upload that index.html file to a webserver and try to access via http:// ? If that is the case then you are likely missing to install shared-mime-info on your build

mickdev commented 1 year ago

I will test .. but : I can perfectly play video (local mp4) in cog with file:///storage/content/index.html ( and <video src="file:///storage/content/mymp4.mp4" in the index.html), and yes i have shared-mime-info ( to play local file )

The problem is specific with rtsp:// ... i will also test with udp:// since i know it was also working with WPELauncher ( video (mp4/h264) work with http:// and file://

philn commented 1 year ago

https://bugs.webkit.org/show_bug.cgi?id=227904

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stale for 7 days with no activity.