High CPU utilization with RTCPeerConnections

I have the following setup:

enter image description here

The idea is that Computer A captures one local MediaStream from Cam 1 using getUserMedia. Then two RTCPeerConnections are created - R5Outbound and R6Outbound . Both computer B and computer C create their own inbound RTCPeerConnections to capture this stream.

I notice that computer A with an i7 processor is hot and occasionally crashes my Chrome instance (60) with the setting below after hitting 95% + CPU.

, RTCPeerConnection; , , , RTCPeerConnections. : , ( ), RTCPeerConnections ?

, ; - , MCU SFU.

:

A?

16 /" > 1 SSD.

A ? ?

A . . .

MediaStream R5Outbound R6Outbound?

R5.O R6.O MediaStream ( , 80% - ).

+4
1

​​ . , , , MediaStreams . ​​ , , MediaStream MediaStream. , ( , ). , : https://vimeo.com/198382135

+1

Source: https://habr.com/ru/post/1683051/


All Articles