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:
@ -143,8 +143,7 @@ void PacketLossTest::Perform() {
|
||||
|
||||
sender_->Setup(acm.get(), &rtpFile, in_file_name_, sample_rate_hz_, channels_,
|
||||
expected_loss_rate_);
|
||||
struct CodecInst sendCodecInst;
|
||||
if (acm->SendCodec(&sendCodecInst) >= 0) {
|
||||
if (acm->SendCodec()) {
|
||||
sender_->Run();
|
||||
}
|
||||
sender_->Teardown();
|
||||
|
||||
Reference in New Issue
Block a user