[Unofficial] moonlight-embedded

Hello everyone!

Long changelog

I’ve been working on moonlight-embedded since upgrading to Kodi Matrix. That also means I had to upgrade to Amlogic-ng build, which doesn’t work as good as Amlogic build for moonlight-embedded.

The exact same code, different branch --> performance changes from good to very bad.
I’ve been experimenting a lot with the codec and found out that adding PTS support should fix the performance issues. So I’ve added a one line fix that feeds libamcodec with moonlight-embedded’s internal PTS value. Performance greatly improved, latency is now much less noticeable. BUT, it is still present.

I recommend to increase packet size to at least 1536 bytes in order to bypass the optimized decoder changes that can decrease performance on higher resolutions. Also, I’ve found out that the decoder might not keep up with higher resolutions because dynamic_buf_num_magin is set to a too low number.

Updated moonlight_experiment.tar.gz with all the mentioned changes. Should increase performance in both branches, please test & give feedback.

TL;DR moonlight_experiment.tar.gz updated for better performance. Test it and give feedback.
Check out the first post to see how to install experimental version.
Thank you for testing!
@wodgey as reported, I can confirm the latency was high. The old version had latency >1s. Can you try testing this version?

1 Like