Pass a real audio codec pair ID to decoders that we create
Bug: webrtc:8941 Change-Id: Ic2aed2ca759eb378164f3f65465e23fd7c13a9f8 Reviewed-on: https://webrtc-review.googlesource.com/63261 Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22538}
This commit is contained in:
@ -299,7 +299,7 @@ TEST(RedPayloadSplitter, CheckRedPayloads) {
|
||||
// easier to just register the payload types and let the actual implementation
|
||||
// do its job.
|
||||
DecoderDatabase decoder_database(
|
||||
new rtc::RefCountedObject<MockAudioDecoderFactory>);
|
||||
new rtc::RefCountedObject<MockAudioDecoderFactory>, rtc::nullopt);
|
||||
decoder_database.RegisterPayload(0, NetEqDecoder::kDecoderCNGnb, "cng-nb");
|
||||
decoder_database.RegisterPayload(1, NetEqDecoder::kDecoderPCMu, "pcmu");
|
||||
decoder_database.RegisterPayload(2, NetEqDecoder::kDecoderAVT, "avt");
|
||||
|
||||
Reference in New Issue
Block a user