You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When accessing the xpra html5 client in Firefox audio will not work and I am unable to load any audio codecs despite the server claiming to support them.
Additional context
When I connect to the html5 client from within Firefox and specifically try to force the mp3 codec I receive an error audio codec mp3+mpeg4 is not supported by the server and then the html5-client falls back to the aac+mpeg4 codec. This also happens with every other audio codec that I attempt to use. Additionally when the html5 client and server are negotiating what codec to use the server does send the array of supported codecs and mp3 is within that array however as the client agrees mp3+mpeg4 is not.
However when I connect to the xpra server using xpra attach tcp://<IP ADDR>:14500 --speaker-codec=mp3 then I can get audio working without issue.
While writing this I went ahead and also tried loading the html5 client within Chrome instead of Firefox and the audio did work however I then run into lots of freezing, and the application becomes unresponsive which is probably its own ticket so I won't get into that much here until I can get a better idea what is going on with that.
The text was updated successfully, but these errors were encountered:
IIRC, with the html5 client we detect what is available then also apply a blacklist for some of these options.
(and perhaps this list should be updated)
I'm quite certain that it at least used to work with Firefox: #23 (comment)
(no idea what has changed since as I don't use Firefox much)
The proper solution is likely to be #64 and it should be quite well supported by browsers nowadays.
Describe the bug
When accessing the xpra html5 client in Firefox audio will not work and I am unable to load any audio codecs despite the server claiming to support them.
To Reproduce
Steps to reproduce the behavior:
System Information (please complete the following information):
Additional context
When I connect to the html5 client from within Firefox and specifically try to force the mp3 codec I receive an error
audio codec mp3+mpeg4 is not supported by the server
and then the html5-client falls back to theaac+mpeg4
codec. This also happens with every other audio codec that I attempt to use. Additionally when the html5 client and server are negotiating what codec to use the server does send the array of supported codecs and mp3 is within that array however as the client agreesmp3+mpeg4
is not.audio codecs supported by the server: Array(16) [ "opus", "flac", "wavpack", "wav+lz4", "wav", "opus+ogg", "vorbis+mka", "vorbis+ogg", "vorbis", "mp3", … ] 0: "opus" 1: "flac" 2: "wavpack" 3: "wav+lz4" 4: "wav" 5: "opus+ogg" 6: "vorbis+mka" 7: "vorbis+ogg" 8: "vorbis" 9: "mp3" 10: "mp3+id3v2" 11: "flac+ogg" 12: "aac+mpeg4" 13: "speex+ogg" 14: "vorbis" 15: "opus+mka"
However when I connect to the xpra server using
xpra attach tcp://<IP ADDR>:14500 --speaker-codec=mp3
then I can get audio working without issue.While writing this I went ahead and also tried loading the html5 client within Chrome instead of Firefox and the audio did work however I then run into lots of freezing, and the application becomes unresponsive which is probably its own ticket so I won't get into that much here until I can get a better idea what is going on with that.
The text was updated successfully, but these errors were encountered: