This approach passes packetization mode to the encoder as part of

a cricket::VideoCodec structure, rather than as part of struct VideoCodecH264 inside webrtc::VideoCodec.

BUG=600254

Review-Url: https://codereview.webrtc.org/2528343002
Cr-Commit-Position: refs/heads/master@{#15437}
This commit is contained in:
hta
2016-12-06 02:22:44 -08:00
committed by Commit bot
parent 5f0ddf2a4e
commit e59647b991
19 changed files with 360 additions and 67 deletions

View File

@ -77,7 +77,9 @@ struct CodecSpecificInfoGeneric {
uint8_t simulcast_idx;
};
struct CodecSpecificInfoH264 {};
struct CodecSpecificInfoH264 {
H264PacketizationMode packetization_mode;
};
union CodecSpecificInfoUnion {
CodecSpecificInfoGeneric generic;