Hi,
I work on an application that share screen captures through websocket connection.
To get screen capture I use getUserMedia() and a worker.
That's ok but I notice that performances with Chrome are under performances with Firefox on some computers.
The algorithm is the same in both cases and basically is :
1. get screen stream using getUserMedia()
2. get "shots" with canvas
3. process and cut images (in a worker)
4. transform in b64
5. send b64 packets through a websocket
With Firefox, the frame rate seems constant. The GUI is a bit slow but all is very acceptable!
With Chrome, the frame rate decrease, the GUI slow down (about 5 seconds after a click). The CPU is "overloaded".
Note that I tested that feature on some computers with Chrome 42->44 64bits on Windows 7 x64 Enterprise:
A. Core i5 2400, 8Go, Intel HD Graphic Family : I have the issue
B. Core 2 Duo E8400@3Ghz, 8Go, Intel 4 Serie Internal Chipset : I have the issue
C. Core i7, 12Go, ATI Radeon 4800 : I have NOT the issue
The issue occurs on A and B but not on C.
Even if the global performances of C is logically better, is it enough to explain C run so easy?
Could-it be a hardware support issue? I can share the result of chrome://gpu if it helps.
Regards,