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

Side by Side Diff: webrtc/api/objc/RTCMediaStreamTrack+Private.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 2015 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
(...skipping 19 matching lines...) Expand all
30 rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> nativeTrack; 30 rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> nativeTrack;
31 31
32 /** 32 /**
33 * Initialize an RTCMediaStreamTrack from a native MediaStreamTrackInterface. 33 * Initialize an RTCMediaStreamTrack from a native MediaStreamTrackInterface.
34 */ 34 */
35 - (instancetype)initWithNativeTrack: 35 - (instancetype)initWithNativeTrack:
36 (rtc::scoped_refptr<webrtc::MediaStreamTrackInterface>)nativeTrack 36 (rtc::scoped_refptr<webrtc::MediaStreamTrackInterface>)nativeTrack
37 type:(RTCMediaStreamTrackType)type 37 type:(RTCMediaStreamTrackType)type
38 NS_DESIGNATED_INITIALIZER; 38 NS_DESIGNATED_INITIALIZER;
39 39
40 - (instancetype)initWithNativeTrack:
41 (rtc::scoped_refptr<webrtc::MediaStreamTrackInterface>)nativeTrack;
42
40 + (webrtc::MediaStreamTrackInterface::TrackState)nativeTrackStateForState: 43 + (webrtc::MediaStreamTrackInterface::TrackState)nativeTrackStateForState:
41 (RTCMediaStreamTrackState)state; 44 (RTCMediaStreamTrackState)state;
42 45
43 + (RTCMediaStreamTrackState)trackStateForNativeState: 46 + (RTCMediaStreamTrackState)trackStateForNativeState:
44 (webrtc::MediaStreamTrackInterface::TrackState)nativeState; 47 (webrtc::MediaStreamTrackInterface::TrackState)nativeState;
45 48
46 + (NSString *)stringForState:(RTCMediaStreamTrackState)state; 49 + (NSString *)stringForState:(RTCMediaStreamTrackState)state;
47 50
48 @end 51 @end
49 52
50 NS_ASSUME_NONNULL_END 53 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698