blob: ea86b1feaa7d487ef69e85c60d97ee6e3bbe7c0c [file] [log] [blame]
Jon Hjelleca91e382016-01-21 15:36:47 -08001/*
2 * Copyright 2015 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 "RTCAudioTrack.h"
12
Henrik Kjellander15583c12016-02-10 10:53:12 +010013#include "webrtc/api/mediastreaminterface.h"
Jon Hjelleca91e382016-01-21 15:36:47 -080014
15NS_ASSUME_NONNULL_BEGIN
16
tkchin8b9ca952016-03-31 12:08:03 -070017@class RTCPeerConnectionFactory;
Jon Hjelleca91e382016-01-21 15:36:47 -080018@interface RTCAudioTrack ()
19
20/** AudioTrackInterface created or passed in at construction. */
21@property(nonatomic, readonly)
22 rtc::scoped_refptr<webrtc::AudioTrackInterface> nativeAudioTrack;
23
Tze Kwang Chinf3cb49f2016-03-22 10:57:40 -070024/** Initialize an RTCAudioTrack with an id. */
25- (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory
26 trackId:(NSString *)trackId;
27
Jon Hjelleca91e382016-01-21 15:36:47 -080028@end
29
30NS_ASSUME_NONNULL_END