Run MediaStreamGraph from a single thread
Categories
(Core :: Audio/Video: MediaStreamGraph, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: karlt, Assigned: pehrsons)
References
(Depends on 2 open bugs)
Details
Attachments
(1 file)
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Comment 3•6 years ago
|
||
Backed out for various dom/worklet/failures
backout: https://hg.mozilla.org/integration/autoland/rev/163bec72cd71867012fe81c6f52aa2b5ef6a0ef3
failure log e.g: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231281889&repo=autoland&lineNumber=4043
e.g https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231282457&repo=autoland&lineNumber=5534
Assignee | ||
Comment 4•6 years ago
|
||
Thanks for backing out! I'll take a look.
Assignee | ||
Comment 5•6 years ago
|
||
These hangs happened when the audio callback got started faster than the GraphRunner's dedicated thread.
One case that I debugged with some logging, it took 25ms from MSG ctor to the first audio callback (e10s, cubeb sandbox), and 34ms for the GraphRunner thread to start running.
This made them both wait for each other.
I've made it so the audio callback will wait for the thread to start if it's early. Tests running at https://treeherder.mozilla.org/#/jobs?repo=try&revision=2051ae405f10e2d9863ed822e2e1d6718ec46928
Comment 7•6 years ago
|
||
bugherder |
Reporter | ||
Updated•6 years ago
|
Description
•