2015-08-05 15:48:13 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright 2014 The WebRTC Project Authors. All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2020-10-19 16:12:43 +02:00
|
|
|
#import "sdk/objc/api/peerconnection/RTCIceCandidate.h"
|
2015-08-05 15:48:13 -07:00
|
|
|
|
2020-05-04 16:14:32 +02:00
|
|
|
@interface RTC_OBJC_TYPE (RTCIceCandidate)
|
|
|
|
|
(JSON)
|
2015-08-05 15:48:13 -07:00
|
|
|
|
2025-01-07 02:46:23 -08:00
|
|
|
+ (RTC_OBJC_TYPE(RTCIceCandidate) *)candidateFromJSONDictionary
|
|
|
|
|
: (NSDictionary *)dictionary;
|
2020-05-04 16:14:32 +02:00
|
|
|
+ (NSArray<RTC_OBJC_TYPE(RTCIceCandidate) *> *)candidatesFromJSONDictionary:
|
|
|
|
|
(NSDictionary *)dictionary;
|
2025-01-07 02:46:23 -08:00
|
|
|
+ (NSData *)JSONDataForIceCandidates:
|
|
|
|
|
(NSArray<RTC_OBJC_TYPE(RTCIceCandidate) *> *)candidates
|
2016-05-23 11:53:14 -07:00
|
|
|
withType:(NSString *)typeValue;
|
2015-08-05 15:48:13 -07:00
|
|
|
- (NSData *)JSONData;
|
|
|
|
|
|
|
|
|
|
@end
|