neutrinolabs / xrdp

xrdp: an open source RDP server
http://www.xrdp.org/
Apache License 2.0
5.79k stars 1.73k forks source link

Support OpenH264 #3177

Open metalefty opened 4 months ago

metalefty commented 4 months ago

The current implementation of H264 uses x264. However, it is not available on Fedora or RHEL-compatible distros for legal reasons. It is instead provided by OpenH264 with the OpenH264 package.

Cisco pays all royalty fees for the precompiled binaries. Thus, Cisco's OpenH264 binaries are free to use and probably the only option to provide H264 capable xrdp in EPEL repo. Fedora/RHEL-compatible distros are not ignorable platform so it would be very nice if xrdp can support both x264 and OpenH264 as H264 encoder.

jsorg71 commented 4 months ago

I think Nex had a working prototype using OpenH264. If I remember right, we just need to add a capture type to get I420 yuv data as OpenH264 does not support NV12.