Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2023-10-11 11:56:50 +08:00
commit d6590573ed
22 changed files with 198 additions and 235 deletions

View file

@ -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);