OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Configuration object used for creating a peer connection. | 57 // Configuration object used for creating a peer connection. |
58 @interface RTCConfiguration : NSObject | 58 @interface RTCConfiguration : NSObject |
59 | 59 |
60 @property(nonatomic, assign) RTCIceTransportsType iceTransportsType; | 60 @property(nonatomic, assign) RTCIceTransportsType iceTransportsType; |
61 @property(nonatomic, copy) NSArray *iceServers; | 61 @property(nonatomic, copy) NSArray *iceServers; |
62 @property(nonatomic, assign) RTCBundlePolicy bundlePolicy; | 62 @property(nonatomic, assign) RTCBundlePolicy bundlePolicy; |
63 @property(nonatomic, assign) RTCRtcpMuxPolicy rtcpMuxPolicy; | 63 @property(nonatomic, assign) RTCRtcpMuxPolicy rtcpMuxPolicy; |
64 @property(nonatomic, assign) RTCTcpCandidatePolicy tcpCandidatePolicy; | 64 @property(nonatomic, assign) RTCTcpCandidatePolicy tcpCandidatePolicy; |
65 @property(nonatomic, assign) int audioJitterBufferMaxPackets; | 65 @property(nonatomic, assign) int audioJitterBufferMaxPackets; |
66 @property(nonatomic, assign) int iceConnectionReceivingTimeout; | 66 @property(nonatomic, assign) int iceConnectionReceivingTimeout; |
| 67 @property(nonatomic, assign) int iceBackupConnectionPingInterval; |
67 | 68 |
68 - (instancetype)initWithIceTransportsType:(RTCIceTransportsType)iceTransportsTyp
e | 69 - (instancetype)initWithIceTransportsType:(RTCIceTransportsType)iceTransportsTyp
e |
69 bundlePolicy:(RTCBundlePolicy)bundlePolicy | 70 bundlePolicy:(RTCBundlePolicy)bundlePolicy |
70 rtcpMuxPolicy:(RTCRtcpMuxPolicy)rtcpMuxPolicy | 71 rtcpMuxPolicy:(RTCRtcpMuxPolicy)rtcpMuxPolicy |
71 tcpCandidatePolicy:(RTCTcpCandidatePolicy)tcpCandidatePol
icy | 72 tcpCandidatePolicy:(RTCTcpCandidatePolicy)tcpCandidatePol
icy |
72 audioJitterBufferMaxPackets:(int)audioJitterBufferMaxPackets | 73 audioJitterBufferMaxPackets:(int)audioJitterBufferMaxPackets |
73 iceConnectionReceivingTimeout:(int)iceConnectionReceivingTimeout; | 74 iceConnectionReceivingTimeout:(int)iceConnectionReceivingTimeout |
| 75 iceBackupConnectionPingInterval:(int)iceBackupConnectionPingInterval; |
74 | 76 |
75 @end | 77 @end |
OLD | NEW |