 Chromium Code Reviews
 Chromium Code Reviews Issue 1880963002:
  Generate FMTP parameters for the H.264 codec.  (Closed) 
  Base URL: https://chromium.googlesource.com/external/webrtc.git@master
    
  
    Issue 1880963002:
  Generate FMTP parameters for the H.264 codec.  (Closed) 
  Base URL: https://chromium.googlesource.com/external/webrtc.git@master| Index: webrtc/media/engine/webrtcvideoengine2.cc | 
| diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc | 
| index ec6b033d2f7a3862be69a9c25390d646968cfd2c..508ab19d5180ac65947d0b48d694ba1abb65bdc1 100644 | 
| --- a/webrtc/media/engine/webrtcvideoengine2.cc | 
| +++ b/webrtc/media/engine/webrtcvideoengine2.cc | 
| @@ -386,8 +386,15 @@ std::vector<VideoCodec> DefaultVideoCodecList() { | 
| VideoCodec::CreateRtxCodec(kDefaultRtxVp9PlType, kDefaultVp9PlType)); | 
| } | 
| if (CodecIsInternallySupported(kH264CodecName)) { | 
| 
hbos
2016/04/12 11:41:14
Hmm, I guess this was always the case, but this co
 
hta-webrtc
2016/04/12 12:48:44
Yes, that makes the third TODO here: Move SDP para
 | 
| - codecs.push_back(MakeVideoCodecWithDefaultFeedbackParams(kDefaultH264PlType, | 
| - kH264CodecName)); | 
| + VideoCodec codec = MakeVideoCodecWithDefaultFeedbackParams( | 
| + kDefaultH264PlType, kH264CodecName); | 
| + // TODO(hta): Move selection of profile-level-id to codec implementation. | 
| + // TODO(hta): Set FMTP parameters for all codecs of type H264. | 
| + codec.SetParam(kH264FmtpProfileLevelId, | 
| + kH264ProfileLevelConstrainedBaseline); | 
| + codec.SetParam(kH264FmtpLevelAsymmetryAllowed, "1"); | 
| + codec.SetParam(kH264FmtpPacketizationMode, "1"); | 
| + codecs.push_back(codec); | 
| codecs.push_back( | 
| VideoCodec::CreateRtxCodec(kDefaultRtxH264PlType, kDefaultH264PlType)); | 
| } |