balena-io-experimental / browser

A drop-in web browser block
96 stars 70 forks source link

Unable to embed webrtc in browser block...codecs not matched #168

Open ropelletier opened 5 months ago

ropelletier commented 5 months ago

I have a webrtc video I need to embed in a dashboard and it simply will not work. This works in EVERY other browser I have tried, just not this version of chromium. I would be grateful for any help regarding where to begin troubleshooting this issue.

I am using a webrtc link generated from go2rtc, which originates from an rtsp stream. This is going to end up being used for a CCTV monitor screen.

I have a working example using a raspberry pi with bookworm installed that boots into a chromium instance in kiosk mode. Now I am trying to do the same thing in balena, but for some reason this chromium/browser blog won't play it.

The error I get is below (please forgive the weird resolution...long story). This error might be somewhat specific to go2rtc, but is hopefully helpful.

image

Let me know what further information is needed. Thank you in advance.

ropelletier commented 5 months ago

ENABLE_GPU is set to 1 and gpu_mem = 256

These are all the flags set, all default I believe

--disable-features=TranslateUI,--disable-component-extensions-with-background-pages,--disable-background-networking,--disable-sync,--metrics-recording-only,--disable-default-apps,--no-default-browser-check,--no-first-run,--disable-backgrounding-occluded-windows,--disable-renderer-backgrounding,--disable-background-timer-throttling,--force-fieldtrials=*BackgroundTracing/default/,--window-size=1440,900,--window-position=0,0,--autoplay-policy=no-user-gesture-required,--noerrdialogs,--disable-session-crashed-bubble,--check-for-update-interval=31536000,--disable-dev-shm-usage,--enable-zero-copy,--num-raster-threads=4,--ignore-gpu-blacklist,--enable-gpu-rasterization