Reland "Rename stereo video codec to multiplex"
This is a reland of bbdabe50db0cf09f6007dda12a6476dc4602b174. This was reverted because of breaking internal build. I contacted sheriff and looked at logs but cannot find anything related to this CL. This was landed with #3850 build which caused exception, but 3847-3855 seem to all have failed. I am relanding to see if it will work this time or it will give some related error message that can guide me. Original change's description: > Rename stereo video codec to multiplex > > This CL only does the rename from"stereo" to multiplex". With this we have a > better name that doesn't clash with audio's usage of stereo. > > Bug: webrtc:7671 > Change-Id: Iebc3fc20839025f1bc8bcf0e16141bf9744ef652 > Reviewed-on: https://webrtc-review.googlesource.com/43242 > Commit-Queue: Emircan Uysaler <emircan@webrtc.org> > Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#21769} TBR=niklas.enbom@webrtc.org Bug: webrtc:7671 Change-Id: I5934abad1ce28acf02842ea8ee2af7768a826eb8 Reviewed-on: https://webrtc-review.googlesource.com/44520 Reviewed-by: Emircan Uysaler <emircan@webrtc.org> Commit-Queue: Emircan Uysaler <emircan@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21780}
This commit is contained in:

committed by
Commit Bot

parent
65c0a60302
commit
4954a77cf8
@ -39,7 +39,7 @@ bool VideoCodecInitializer::SetupCodec(
|
||||
bool nack_enabled,
|
||||
VideoCodec* codec,
|
||||
std::unique_ptr<VideoBitrateAllocator>* bitrate_allocator) {
|
||||
if (PayloadStringToCodecType(settings.payload_name) == kVideoCodecStereo) {
|
||||
if (PayloadStringToCodecType(settings.payload_name) == kVideoCodecMultiplex) {
|
||||
VideoSendStream::Config::EncoderSettings associated_codec_settings =
|
||||
settings;
|
||||
associated_codec_settings.payload_name =
|
||||
@ -49,7 +49,7 @@ bool VideoCodecInitializer::SetupCodec(
|
||||
RTC_LOG(LS_ERROR) << "Failed to create stereo encoder configuration.";
|
||||
return false;
|
||||
}
|
||||
codec->codecType = kVideoCodecStereo;
|
||||
codec->codecType = kVideoCodecMultiplex;
|
||||
strncpy(codec->plName, settings.payload_name.c_str(),
|
||||
sizeof(codec->plName));
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user