blob: 53fbb45dc2f01c097bd5b7b00ce66c3a29441037 [file] [log] [blame]
hjonaa32c3e2015-12-13 19:58:11 -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
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import "RTCIceServer.h"
hjonaa32c3e2015-12-13 19:58:11 -080012
Steve Anton10542f22019-01-11 09:11:00 -080013#include "api/peer_connection_interface.h"
hjonaa32c3e2015-12-13 19:58:11 -080014
15NS_ASSUME_NONNULL_BEGIN
16
17@interface RTCIceServer ()
18
19/**
20 * IceServer struct representation of this RTCIceServer object's data.
21 * This is needed to pass to the underlying C++ APIs.
22 */
Yves Gerey665174f2018-06-19 15:03:05 +020023@property(nonatomic, readonly) webrtc::PeerConnectionInterface::IceServer nativeServer;
hjonaa32c3e2015-12-13 19:58:11 -080024
hjon6d49a8e2016-01-26 13:06:42 -080025/** Initialize an RTCIceServer from a native IceServer. */
Yves Gerey665174f2018-06-19 15:03:05 +020026- (instancetype)initWithNativeServer:(webrtc::PeerConnectionInterface::IceServer)nativeServer;
hjon6d49a8e2016-01-26 13:06:42 -080027
hjonaa32c3e2015-12-13 19:58:11 -080028@end
29
30NS_ASSUME_NONNULL_END