Set video codec names in public API using existing cricket constants
For better consistency between the Objective-C API constant definitions and the existing constants defined in the underlying core, re-use the available video codec-name constants from cricket to define the peer constants in the public API. BUG=None Change-Id: I8d5ddc2c1bd6670810fca1665aaf9a116620a34e Reviewed-on: https://webrtc-review.googlesource.com/25360 Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20883}
This commit is contained in:
committed by
Commit Bot
parent
09819ec373
commit
80adac053c
@ -14,9 +14,11 @@
|
||||
#import "RTCVideoCodec+Private.h"
|
||||
#import "WebRTC/RTCVideoCodecFactory.h"
|
||||
|
||||
NSString *const kRTCVideoCodecVp8Name = @"VP8";
|
||||
NSString *const kRTCVideoCodecVp9Name = @"VP9";
|
||||
NSString *const kRTCVideoCodecH264Name = @"H264";
|
||||
#include "media/base/mediaconstants.h"
|
||||
|
||||
NSString *const kRTCVideoCodecVp8Name = @(cricket::kVp8CodecName);
|
||||
NSString *const kRTCVideoCodecVp9Name = @(cricket::kVp9CodecName);
|
||||
NSString *const kRTCVideoCodecH264Name = @(cricket::kH264CodecName);
|
||||
NSString *const kRTCLevel31ConstrainedHigh = @"640c1f";
|
||||
NSString *const kRTCLevel31ConstrainedBaseline = @"42e01f";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user