Revert of WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType (patchset #13 id:260001 of https://codereview.webrtc.org/2686043006/ )
Reason for revert:
Makes perf and Chromium FYI bots unhappy.
Original issue's description:
> WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType
>
> This removes one more place where we were unable to handle codecs not
> in the built-in set.
>
> BUG=webrtc:5805
>
> Review-Url: https://codereview.webrtc.org/2686043006
> Cr-Commit-Position: refs/heads/master@{#17370}
> Committed: 1724cfbdba
TBR=ossu@webrtc.org,solenberg@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:5805
Review-Url: https://codereview.webrtc.org/2772043002
Cr-Commit-Position: refs/heads/master@{#17374}
This commit is contained in:
@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
#include "webrtc/call/audio_state.h"
|
||||
@ -142,11 +141,6 @@ TEST(CallTest, CreateDestroy_AssociateAudioSendReceiveStreams_RecvFirst) {
|
||||
new testing::NiceMock<test::MockVoEChannelProxy>();
|
||||
EXPECT_CALL(*channel_proxy, GetAudioDecoderFactory())
|
||||
.WillRepeatedly(testing::ReturnRef(decoder_factory));
|
||||
EXPECT_CALL(*channel_proxy, SetReceiveCodecs(testing::_))
|
||||
.WillRepeatedly(testing::Invoke(
|
||||
[](const std::map<int, SdpAudioFormat>& codecs) {
|
||||
EXPECT_THAT(codecs, testing::IsEmpty());
|
||||
}));
|
||||
// If being called for the send channel, save a pointer to the channel
|
||||
// proxy for later.
|
||||
if (channel_id == kRecvChannelId) {
|
||||
@ -194,11 +188,6 @@ TEST(CallTest, CreateDestroy_AssociateAudioSendReceiveStreams_SendFirst) {
|
||||
new testing::NiceMock<test::MockVoEChannelProxy>();
|
||||
EXPECT_CALL(*channel_proxy, GetAudioDecoderFactory())
|
||||
.WillRepeatedly(testing::ReturnRef(decoder_factory));
|
||||
EXPECT_CALL(*channel_proxy, SetReceiveCodecs(testing::_))
|
||||
.WillRepeatedly(testing::Invoke(
|
||||
[](const std::map<int, SdpAudioFormat>& codecs) {
|
||||
EXPECT_THAT(codecs, testing::IsEmpty());
|
||||
}));
|
||||
// If being called for the send channel, save a pointer to the channel
|
||||
// proxy for later.
|
||||
if (channel_id == kRecvChannelId) {
|
||||
|
||||
Reference in New Issue
Block a user