Re: chromium + foreign-cdm not working?

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Wed, 04 Oct 2023 09:08:18 UTC
On Tue, Oct 3, 2023 at 9:32 PM <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
> --
> Jonathan Chen <jonc@chen.org.nz>
>

FCDM author says he'll take a look at this issue. Next time report
such issues to the upstream repo on GitHub.