mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 19:37:32 +09:00
Issue #2332 - Use only one listener in MediaPipelineTransmit
https://bugzilla.mozilla.org/show_bug.cgi?id=1305949 part 3
This commit is contained in:
parent
1ed778419f
commit
580a231706
3 changed files with 40 additions and 85 deletions
|
|
@ -70,6 +70,7 @@ public:
|
|||
gGraph = new MediaStreamGraph();
|
||||
return gGraph;
|
||||
}
|
||||
uint32_t GraphRate() { return 16000; }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -186,8 +187,6 @@ class Fake_MediaStream {
|
|||
public:
|
||||
Fake_MediaStream () : mListeners(), mTrackListeners(), mMutex("Fake MediaStream") {}
|
||||
|
||||
static uint32_t GraphRate() { return 16000; }
|
||||
|
||||
void AddListener(Fake_MediaStreamListener *aListener) {
|
||||
mozilla::MutexAutoLock lock(mMutex);
|
||||
mListeners.insert(aListener);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue