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

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: CR feedback 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
« no previous file with comments | « webrtc/api/objc/RTCRtpParameters+Private.h ('k') | webrtc/api/objc/RTCRtpSender.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #import <Foundation/Foundation.h>
12
13 #import "webrtc/api/objc/RTCRtpParameters.h"
14 #import "webrtc/api/objc/RTCMediaStreamTrack.h"
15
16 NS_ASSUME_NONNULL_BEGIN
17
18 @protocol RTCRtpSender <NSObject>
19
20 /** The currently active RTCRtpParameters, as defined in
21 * https://www.w3.org/TR/webrtc/#idl-def-RTCRtpParameters.
22 */
23 @property(nonatomic, readonly) RTCRtpParameters *parameters;
24
25 /** The RTCMediaStreamTrack associated with the sender.
26 * Note: reading this property returns a new instance of
27 * RTCMediaStreamTrack. Use isEqual: instead of == to compare
28 * RTCMediaStreamTrack instances.
29 */
30 @property(nonatomic, readonly) RTCMediaStreamTrack *track;
31
32 /** Set the new RTCRtpParameters to be used by the sender.
33 * Returns YES if the new parameters were applied, NO otherwise.
34 */
35 - (BOOL)setParameters:(RTCRtpParameters *)parameters;
36
37 @end
38
39 @interface RTCRtpSender : NSObject <RTCRtpSender>
40
41 - (instancetype)init NS_UNAVAILABLE;
42
43 @end
44
45 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/api/objc/RTCRtpParameters+Private.h ('k') | webrtc/api/objc/RTCRtpSender.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698