[winswitch] Stuck with automatic picture encoding while trying to connect with HTML5

Eric Grammatico e.grammatico at gmail.com
Wed Jul 26 15:55:12 BST 2017


Hello There,

I have very poor performances with html5 client. I had a look in the code and I saw h264 may be available. Thus I have modified Client.js with:

 this.enabled_encodings = ["jpeg", "png", "rgb", "rgb32", "h264", "vp8+webm", "h264+mp4", "mpeg4+mp4"];
 this.supported_encodings = ["jpeg", "png", "rgb", "rgb32", "h264", "vp8+webm", "h264+mp4", "mpeg4+mp4"];

end connect.html with:
 Automatic
 JPEG
 PNG
 Raw RGB
 H264
 vp8+webm
 h264+mp4
 mpeg4+mp4
 Encoding
What ever codec I choose, the xpra server reports:

2017-07-26 14:33:22,309 HTML5 Linux Chrome client version 2.1
2017-07-26 14:33:22,310 as 'eric'
2017-07-26 14:33:22,310 via Linux 4.11.10-100.fc24.x86_64 proxy version 2.1 on 'xpra-proxy'
2017-07-26 14:33:22,312 automatic picture encoding enabled
2017-07-26 14:33:22,314 also available:
2017-07-26 14:33:22,314 jpeg, png, rgb32, h264, vp8+webm, h264+mp4, mpeg4+mp4
As the performance are still poor, I believe h264 is stil not selected... How can I have better performance with HTML2 ?

Tested with Firefox and Chromium.

thanks and best regards,
-
Eric Grammatico _/)



More information about the shifter-users mailing list