Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [4/24/17, 5:22:18 PM] Eugene Machulskyi: Мы только что посмотрели наш код. Последние изменения были сделаны в феврале 2017 года.
- [4/24/17, 5:22:35 PM] Eugene Machulskyi: On 4/24/17, at 5:18 PM, Maksim Savolya wrote:
- > #define QUICKBLOX_API_ENDPOINT @"http://apichatsaucetest.quickblox.com"
- Sent on:
- 5:18 pm
- From:
- Maksim Savolya
- - (void)configureQuickblox {
- [QBSettings setApplicationID:QUICKBLOX_APP_ID];
- [QBSettings setAuthKey:QUICKBLOX_AUTH_KEY];
- [QBSettings setAuthSecret:QUICKBLOX_AUTH_SECRET];
- [QBSettings setAccountKey:QUICKBLOX_ACCOUNT_KEY];
- [QBSettings setApiEndpoint:QUICKBLOX_API_ENDPOINT
- chatEndpoint:QUICKBLOX_CHAT_ENDPOINT
- forServiceZone:QBConnectionZoneTypeProduction];
- [QBSettings setServiceZone:QBConnectionZoneTypeProduction];
- NSArray > URLs = @[@"stun:turnsingapore.quickblox.com",
- @"turn:turnsingapore.quickblox.com:3478?transport=udp",
- @"turn:turnsingapore.quickblox.com:3478?transport=tcp"];
- [QBRTCICEServer serverWithURLs:URLs username:QUICKBLOX_TURN_SERVER_USERNAME password:QUICKBLOX_TURN_SERVER_PASSWORD];
- [QBRTCConfig setAnswerTimeInterval:kQBAnswerTimeInterval];
- [QBRTCConfig setDialingTimeInterval:kQBDialingTimeInterval];
- [QBSettings setKeepAliveInterval:300];
- [QBSettings setAutoReconnectEnabled:YES];
- [QBSettings setCarbonsEnabled:YES];
- [QBSettings setLogLevel:QBLogLevelDebug];
- [QBSettings enableXMPPLogging];
- [QBRTCClient initializeRTC];
- [QBRTCClient.instance addDelegate:self];
- }
- From:
- Maksim Savolya
- #define QUICKBLOX_CHAT_ENDPOINT @"chatchatsaucetest.quickblox.com"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement