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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
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 | 67 |
67 - (instancetype)initWithIceTransportsType:(RTCIceTransportsType)iceTransportsTyp
e | 68 - (instancetype)initWithIceTransportsType:(RTCIceTransportsType)iceTransportsTyp
e |
68 bundlePolicy:(RTCBundlePolicy)bundlePolicy | 69 bundlePolicy:(RTCBundlePolicy)bundlePolicy |
69 rtcpMuxPolicy:(RTCRtcpMuxPolicy)rtcpMuxPolicy | 70 rtcpMuxPolicy:(RTCRtcpMuxPolicy)rtcpMuxPolicy |
70 tcpCandidatePolicy:(RTCTcpCandidatePolicy)tcpCandidatePol
icy | 71 tcpCandidatePolicy:(RTCTcpCandidatePolicy)tcpCandidatePol
icy |
71 audioJitterBufferMaxPackets:(int)audioJitterBufferMaxPackets; | 72 audioJitterBufferMaxPackets:(int)audioJitterBufferMaxPackets |
| 73 iceConnectionReceivingTimeout:(int)iceConnectionReceivingTimeout; |
72 | 74 |
73 @end | 75 @end |
OLD | NEW |