FDH2 / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.51k stars 76 forks source link

video renderer paused when AirPlay streaming video / screen orientation changed #346

Open DYY-Studio opened 1 day ago

DYY-Studio commented 1 day ago

Situation 1: Stream video via AirPlay

Device: iPhone SE 3rd Gen, iOS 16.3; iPad Pro 11-inch 2022, iOS 18.0 Version: h265_new 0473ccd

options: NONE / -h265

At the same time, audio is normally streaming.

The master 0a2dbaa can successfully receive the video stream and play, without any options.

The debug logging has been redirected to the log file. test.log

Situation 2: Change screen orientation.

Device: iPhone SE 3rd Gen, iOS 16.3 Version: h265_new 0473ccd

options: NONE

Same with situation 1, master branch works properly.

The debug logging has been redirected to the log file. test3.log

fduncanh commented 18 hours ago

In uxplay.cpp h265_new line 1372: features bit 8 "supports screen rotation" is turned off. This was done in uxplay's ancestor "rpiplay". what happens when this bit is set to "on"?

DYY-Studio commented 14 hours ago

Sorry, I don't know that.

But what I see is that the h265_new behaves different compared to the master. (This is why I create this issue)

So the master has same value, but still accepts rotation…? and it just works……

I personally think that, let it works just like master branch is not bad. The master branch do not have big issue when deal with these two situation as far as I know.

These are just my personal idea. If do not have the plan to support, that's fine, and we can close this issue?

fduncanh commented 3 hours ago

the h265_new branch is still in testing phase.

Your reports are useful.

It wont be released to replace master branch (add h265 support to master branch), until it works properly.