Re: chromium + foreign-cdm not working?

From: Pete Wright <pete_at_nomadlogic.org>
Date: Tue, 03 Oct 2023 18:45:21 UTC

On 10/3/23 11:32 AM, jonc@chen.org.nz wrote:
> Hi,
> 
> I noticed the inclusion of foreign-cdm support to www/chromium, and decided to try this out. However, any effort to play content from Netflix results in a failure. I've got: linux_enable="YES" in /etc/rc.conf, and the port pulls in linux-base-c7 as well. The chromium logs from stdout all end with:
> 
> lib.cpp:80: info: CreateSessionAndGenerateRequest; promise_id = 3; session_type = 0; init_data_type = 0; init_data = 1bb11863200; init_data_size = 52
> worker.cpp:240: info: createSessionAndGenerateRequest
> *** Fatal uncaught kj::Exception: worker.cpp:546: unimplemented: CreateFileIO
> *** Fatal uncaught kj::Exception: capnp/rpc.c++:2778: disconnected: Peer disconnected.
> stack: 1bb18037f18 1bb1802c580 1bb1816a310
> [34603:-692588544:1004/072526.678703:ERROR:mojo_cdm.cc(118)] Remote CDM connection error: custom_reason=0, description=""
> 
> Any ideas on how to get this working?
> 
> Cheers

If you haven't seen this already it's def work a look:

https://github.com/mrclksr/linux-browser-installer

this is what i use to run linux-chrome on my freebsd workstations.  it 
works well with most of the linux/win/mac only websites out there (how's 
that a thing again?).

i run it side-by-side with my native freebsd chromium install and have 
no issues.

cheers,
-pete

-- 
Pete Wright
pete@nomadlogic.org