Firefox WebRTC - High CPU usage in device (microphone/camera) renegotiation
Categories
(Core :: WebRTC: Networking, defect, P3)
Tracking
()
backlog | webrtc/webaudio+ |
People
(Reporter: abhinav.khaware, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: stale-bug)
Attachments
(7 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.41 Safari/537.36 Steps to reproduce: 1. Join session by providing Guest Name on https://apollodemo01.bbcollab.com/collab/ui/session/guest/8A5D356DFE1118DC9196240915B8CD23?redialOnFFTC=false 2. Start microphone. 3. Check CPU Usage on Activity Monitor for Firefox. Attaching signaling logs - FF47_log.txt.zip, about:webrtc page output - about-webrtc.txt, Screenshot - Firefox 47 Process High CPU WebRTC.png Macbook details - MacBook Pro Abhinav.zip Actual results: CPU usage for Firefox process spikes to ~500% after starting microphone. Expected results: CPU usage should never spike to ~500%.
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Reporter | ||
Comment 3•8 years ago
|
||
Reporter | ||
Comment 4•8 years ago
|
||
Uploading trace and accompanying signaling logs - Instruments FF47.trace.zip and FF47_log_2.txt.zip
Reporter | ||
Comment 5•8 years ago
|
||
Reporter | ||
Comment 6•8 years ago
|
||
Instruments FF47.trace.zip available at https://drive.google.com/file/d/0BzQI6MLbgP7vdUI1YnFtS2dRSWc/view for download.
Reporter | ||
Updated•8 years ago
|
Comment 7•8 years ago
|
||
We see this issue only when user accesses devices and SDP is renegotiated. If we re-establish the PeerConnection in place of renegotiation we don't see high CPU consumption.
Updated•8 years ago
|
Comment hidden (obsolete) |
Comment 9•7 years ago
|
||
Mass change P1->P2 to align with new Mozilla triage process
Comment 10•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Comment 11•5 years ago
|
||
Bump. This drains the battery of my laptop every time I make a conference call (which I do relatively often). It'd be nice if this could be fixed.
Comment 12•5 years ago
|
||
I cannot reproduce the problem in the description; CPU usage does not look unusual.
frederick888, which conferencing service are you using? Is this an audio-only conference, or audio/video? How many participants?
Comment 13•5 years ago
|
||
(In reply to Byron Campen [:bwc] from comment #12)
I cannot reproduce the problem in the description; CPU usage does not look unusual.
frederick888, which conferencing service are you using? Is this an audio-only conference, or audio/video? How many participants?
I experienced this issue when using UberConference and Google Hangouts Meet. They were audio-only calls with 3-5 people.
By the way I'm using an old Macbook (model A1398 EMC 2881) with integrated Intel graphics and Nvidia.
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
I made a UberConf call between my Macbook and Linux laptop and it seems that it's even worse in Linux (see in attached screenshots).
My Linux laptop is using an Intel i7-6820HK and the integrated graphics is disabled.
Comment 17•5 years ago
|
||
Ok, so that does not really look like what was in the description. It could be more efficient though. It is possible that the conferencing service you're using work with a full-mesh, meaning you have to encode the same audio separately for each participant, which can get quite expensive. I would be able to tell from the output of about:webrtc.
Updated•3 years ago
|
Updated•2 years ago
|
Description
•