зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1397793 - Share SharedBuffer accross SourceMediaStream. r=pehrsons
MozReview-Commit-ID: 4PEjwiA6PR8 --HG-- extra : rebase_source : 265d30d8bf83103c50bb3cb84b263bdb87b8494e extra : histedit_source : 1ba9523a366310d5784a671e2be03a7a71e790b3
This commit is contained in:
Родитель
93fa5b007c
Коммит
b585f4301a
|
@ -904,7 +904,8 @@ MediaEngineWebRTCMicrophoneSource::PacketizeAndProcess(MediaStreamGraph* aGraph,
|
|||
// We already have planar audio data of the right format. Insert into the
|
||||
// MSG.
|
||||
MOZ_ASSERT(processedOutputChannelPointers.Length() == aChannels);
|
||||
segment.AppendFrames(buffer.forget(),
|
||||
RefPtr<SharedBuffer> other = buffer;
|
||||
segment.AppendFrames(other.forget(),
|
||||
processedOutputChannelPointersConst,
|
||||
mPacketizer->PacketSize(),
|
||||
mPrincipalHandles[i]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче