blob: 389b833ffa1229c0acd125f87b45958610a891d4 [file] [log] [blame]
skvlad79b4b872016-04-08 17:28:55 -07001/*
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
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import "RTCRtpSender.h"
skvlad79b4b872016-04-08 17:28:55 -070012
Steve Anton10542f22019-01-11 09:11:00 -080013#include "api/rtp_sender_interface.h"
skvlad79b4b872016-04-08 17:28:55 -070014
15NS_ASSUME_NONNULL_BEGIN
16
Yura Yaroshevichef43aaf2018-07-09 19:16:32 +030017@class RTCPeerConnectionFactory;
18
skvlad79b4b872016-04-08 17:28:55 -070019@interface RTCRtpSender ()
20
Yves Gerey665174f2018-06-19 15:03:05 +020021@property(nonatomic, readonly) rtc::scoped_refptr<webrtc::RtpSenderInterface> nativeRtpSender;
Taylor Brandstetterdb0cd9e2016-05-16 11:40:30 -070022
skvlad79b4b872016-04-08 17:28:55 -070023/** Initialize an RTCRtpSender with a native RtpSenderInterface. */
Yura Yaroshevichef43aaf2018-07-09 19:16:32 +030024- (instancetype)initWithFactory:(RTCPeerConnectionFactory*)factory
25 nativeRtpSender:(rtc::scoped_refptr<webrtc::RtpSenderInterface>)nativeRtpSender
26 NS_DESIGNATED_INITIALIZER;
skvlad79b4b872016-04-08 17:28:55 -070027
28@end
29
30NS_ASSUME_NONNULL_END