I'm trying to make moonlight work on an Amlogic S905 and found that the amcodec.so can't be loaded because it's missing amadec.so.
Running moonlight embedded on an Amlogic system with LibreElec (S905 in this case) the libmoonlight-aml.so is not loaded because libamcodec si not complete in LibreElec. I've added a print with dlerror and it returns: "usr/lib/libamcodec.so: undefined symbol: audio_decode_basic_init" - "audio_decode_basic_init" is in libamadec.so Loading fails because dlopen is used with parameter RTLD_NOW
Is there a particular reason why amadec.so is not added alongside amcodec.so? It's not working for S905?
I've managed to build them and added to the image, load the moonlight and run it, but the image will flicker a lot, I think because the codec is reset a lot. I've attached moonlight logs.
I would appreciate a lot if anybody can help with these issues