window capture, audio lag fix, reasonable volume, remove mouse cursor#7
window capture, audio lag fix, reasonable volume, remove mouse cursor#7jayv wants to merge 1 commit into
Conversation
|
Thanks for the contribution! I'm finding there's quite a bit more variance between third-party receivers than I would have expected (see #4 and e.g., jqssun/android-display-mirror#10 that uses this project). If you can provide the specific model of the device you're using I would like to start compiling a list of "supported" third-party receivers that I can either purchase separately or ask contributors to test. I'll still trying to understand the behavior of the actual iOS client and what it does to avoid these issues. This PR unfortunately breaks audio on the device I'm testing on (Roku Streaming Stick 4K, the AppleTV4K is fine). Streaming to a Apple TV with a homepod as the audio output I've also noticed has a noticeable delay that I'm working in another branch. Happy to accept the I'll double check the Also, as a heads up this project is licensed under the LGPL version 3.0 or later as of 02d0045 so please make sure you're comfortable providing any code under the new license. |
Here are a number of changes I made on my Linux/AMDGPU system to make streaming to a Samsung TV (Airplay compatible) as well as an AppleTV4K+HomePod bearable.
feature: explicit window capture instead of full screen (e.g. use
xdotool selectwindowyou can get the ID to pass in so you can capture a background window while working on something else)sets volume to "20", the existing code maxed out the volume on either my TV or my AppleTV/HomePod almost blowing the speakers on stream launch, that's an extremely careless default choice. 20 was about 30% volume which seems far more reasonable.
removes the "fake" mouse cursor X11 adds, when broadcasting a background window it's very weird to see the cursor move around when you're working on something else in the foreground