After opening an mp4 file in xpra attach and playing it, and clicking pause, the next time the audio is played there is a delay.
Open the mp4 file.
- start playing the video oh
- Click pause
- Resume playback after 30 seconds/minute
- Sound will be delayed for 4-5 seconds.
Currently watching audio may have this problem, only tested mp4 so far !
Please, please, please.
Using what version of xpra, on what OS, with what browser?
In any case, there are existing tickets to do with audio and av-sync, this is likely a duplicate and I'm very unlikely to look into it due to lack of time.
Using what version of xpra, on what OS, with what browser?
In any case, there are existing tickets to do with audio and av-sync, this is likely a duplicate and I'm very unlikely to look into it due to lack of time.
The xpra-html5 is using v17 xpra 5.1.0 , linux debian , and it seems that after troubleshooting it doesn't have anything to do with the server side? I'm only giving feedback because this feature is so disruptive haha Thank you very much for your reply 🫡
xpra 5.1.0
This version does not exist as it has not been released yet.
linux debian
This is not specific enough.
it doesn't have anything to do with the server side?
Probably not.
You still have not specified your browser or which codec it is using for audio - which can be found in your server log.
xpra 5.1.0
This version does not exist as it has not been released yet.
linux debian
This is not specific enough.
it doesn't have anything to do with the server side?
Probably not.
You still have not specified your browser or which codec it is using for audio - which can be found in your server log.
debian 20
browser chrome
xpra server v5.0.10-r0
This is what you get when you output xpra info in the terminal.
xpra Server-side logs
I hope this helps you 🫡
@totaam
xpra 5.1.0
This version does not exist as it has not been released yet.
linux debian
This is not specific enough.
it doesn't have anything to do with the server side?
Probably not.
You still have not specified your browser or which codec it is using for audio - which can be found in your server log.
If I want to fix it, which part should I start with?
Here is some information from your own logs that you have not provided:
HTML5 Linux Chrome client version 18
setting keyboard layout to 'cn'
client root window size is 1920x930
Chromium 132 (508x246 mm - DPI: 96x96)
(...)
client 1 using audio codec string for opus+mka: audio/webm; codecs="opus"
client 1 audio: requesting opus+mka stream from the server
So you're not running the client version you said you were (v18), your browser is Chromium 132 and you're using opus+mka audio format.
Next, I would try the other format options.
But TBH, it's quite possible that fixing this issue is going to require extensive JS API changes.