Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: webrtc/api/objc/RTCRtpSender.h

Issue 1854393002: Objective C API to read and set RtpParameters (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #import <Foundation/Foundation.h> 11 #import <Foundation/Foundation.h>
12 12 #import "webrtc/api/objc/RTCRtpParameters.h"
tkchin_webrtc 2016/04/05 18:48:16 ditto blank line
13 typedef NS_ENUM(NSInteger, RTCSourceState) { 13 #import "webrtc/api/objc/RTCMediaStreamTrack.h"
14 RTCSourceStateInitializing,
15 RTCSourceStateLive,
16 RTCSourceStateEnded,
17 RTCSourceStateMuted,
18 };
19 14
20 NS_ASSUME_NONNULL_BEGIN 15 NS_ASSUME_NONNULL_BEGIN
21 16
22 @interface RTCVideoSource : NSObject 17 @interface RTCRtpSender : NSObject
tkchin_webrtc 2016/04/05 18:48:16 consider making this a protocol so that one day wh
skvlad 2016/04/05 23:21:28 Done.
23 18
24 /** The current state of the RTCVideoSource. */ 19 @property(nonatomic, readonly) RTCRtpParameters* parameters;
tkchin_webrtc 2016/04/05 18:48:16 * in file
25 @property(nonatomic, readonly) RTCSourceState state; 20 @property(nonatomic, readonly) RTCMediaStreamTrack* track;
26 21
27 - (instancetype)init NS_UNAVAILABLE; 22 - (instancetype)init NS_UNAVAILABLE;
28 23
24 - (BOOL)setParameters:(RTCRtpParameters*)parameters;
tkchin_webrtc 2016/04/05 18:48:16 is this valuable? If it fails we won't know why. I
skvlad 2016/04/05 23:21:28 It's only valuable in letting you know if the chan
25
29 @end 26 @end
30 27
31 NS_ASSUME_NONNULL_END 28 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698