-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use different frame rates for H.264 and RFX #347
base: devel
Are you sure you want to change the base?
Conversation
0baa15f
to
13f53ed
Compare
It's a quite complex question. The point you make about different users having different sensitivities is interesting. That would suggest having a per-client configuration, but there's nothing in the specification to allow for that. I think the best place to put the configuration (for now) may be in the Code so far looks fine, BTW. |
I think they provide separate VM instances for xrdp server per user. Therefore, it is not necessary to have a configuration for each client. It would be nice to have such a per-client configuration but high framerate also satisfies non-sensitive users.
Do you mean command line arguments of Xorg (xorgxrdp)? |
I was thinking more along the lines of (for example):- ; ; Session types ; [Xorg] name=Xorg lib=libxup.so username=ask password=ask port=-1 code=20 # Needed for 0.9.x ip=127.0.0.1 #keycode_set=base MinH264Refresh=16 MinRfxRefresh=32 When we connect to xorgxrdp we can send the values over. That lets the users play with different values without restarting the session. |
(cherry picked from commit 9525b61)
ec7c24d
to
c897ca4
Compare
@matt335672 Can you have a look at this and neutrinolabs/xrdp#3318? |
Will do tomorrow (UK time). |
LGTM! |
An enterprise user requests this. Some users in the company report that current 25Hz frame rates (40ms between frames) are noticeably laggy even when clients and servers are placed in under a 1ms network. Not all people feel laggy but some people are sensitive to screen latency.
I also feel 25Hz is noticeably laggy when network RTT >30-40ms.
Now we have H.264, a video codec which takes interframe differences. So, a higher frame rate does not necessarily consume more network bandwidth. In contrast, RFX doesn't take interframe differences. 2x frame rates might be twice the network bandwidth. This is the reason for using different frame rates per codec.
I'm going to make the frame interval value configurable. Where's the best place to put the configuration? xorg.conf? client_info and pass from xrdp?
@matt335672 Let me know your opinion.