Let AudioCodingModule::SendCodec return Maybe<CodecInst>
And deal with the consequences thereof... Review URL: https://codereview.webrtc.org/1406123011 Cr-Commit-Position: refs/heads/master@{#10497}
This commit is contained in:
@ -339,8 +339,7 @@ std::string EncodeDecodeTest::EncodeToFile(int fileType,
|
||||
_sender.codeId = codeId;
|
||||
|
||||
_sender.Setup(acm.get(), &rtpFile, "audio_coding/testfile32kHz", 32000, 1);
|
||||
struct CodecInst sendCodecInst;
|
||||
if (acm->SendCodec(&sendCodecInst) >= 0) {
|
||||
if (acm->SendCodec()) {
|
||||
_sender.Run();
|
||||
}
|
||||
_sender.Teardown();
|
||||
|
||||
Reference in New Issue
Block a user