webrtc_m130/sdk/objc/components/video_codec/RTCCodecSpecificInfoH264.mm
Erik Språng 4f00075435 Remove use of CodecSpecificInfo.codec_name
Bug: webrtc:9890
Change-Id: I68bb73530f335e82d0d3f7885702fc6bb120a7a5
Reviewed-on: https://webrtc-review.googlesource.com/c/111241
Commit-Queue: Erik Språng <sprang@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25774}
2018-11-23 16:04:13 +00:00

30 lines
926 B
Plaintext

/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import "RTCCodecSpecificInfoH264+Private.h"
#import "RTCH264ProfileLevelId.h"
// H264 specific settings.
@implementation RTCCodecSpecificInfoH264
@synthesize packetizationMode = _packetizationMode;
- (webrtc::CodecSpecificInfo)nativeCodecSpecificInfo {
webrtc::CodecSpecificInfo codecSpecificInfo;
codecSpecificInfo.codecType = webrtc::kVideoCodecH264;
codecSpecificInfo.codecSpecific.H264.packetization_mode =
(webrtc::H264PacketizationMode)_packetizationMode;
return codecSpecificInfo;
}
@end