Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h |
diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h |
index c18fa783cf5db9f95ad1e61be0efa68e2bf3cb71..657ec0ca6a86279fa56ea2733944e61053aca2ff 100644 |
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h |
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h |
@@ -100,9 +100,11 @@ typedef NS_ENUM(NSUInteger, RTCVideoCodecMode) { |
RTC_EXPORT |
@interface RTCVideoCodecInfo : NSObject |
-- (instancetype)initWithPayload:(NSInteger)payload |
- name:(NSString *)name |
- parameters:(NSDictionary<NSString *, NSString *> *)parameters; |
+- (instancetype)init NS_UNAVAILABLE; |
+ |
+- (instancetype)initWithName:(NSString *)name |
+ parameters:(nullable NSDictionary<NSString *, NSString *> *)parameters |
+ NS_DESIGNATED_INITIALIZER; |
@property(nonatomic, readonly) NSInteger payload; |
@property(nonatomic, readonly) NSString *name; |