|
@@ -192,6 +192,15 @@
|
|
|
[paraDict setValue:privatePort forKey:@"privatePort"];
|
|
|
}
|
|
|
|
|
|
+ if(ksharedAppDelegate.bestWebrtcServerModel){
|
|
|
+
|
|
|
+ NSString * turnMsg = [[NSString alloc] initWithFormat:@"%@:%@",ksharedAppDelegate.bestWebrtcServerModel.turnIp,ksharedAppDelegate.bestWebrtcServerModel.turnPort];
|
|
|
+ [paraDict setValue:turnMsg forKey:@"coturnIp"];
|
|
|
+
|
|
|
+ NSString * signalMsg = [[NSString alloc] initWithFormat:@"%@:%@",ksharedAppDelegate.bestWebrtcServerModel.signallingIp,ksharedAppDelegate.bestWebrtcServerModel.signallingPort];
|
|
|
+ [paraDict setValue:signalMsg forKey:@"signalingIp"];
|
|
|
+ }
|
|
|
+
|
|
|
[[netWorkManager shareInstance] CommonPostCallBackCode:webrctLogAdd Parameters:paraDict success:^(id _Nonnull responseObject){
|
|
|
|
|
|
SuperModel *curModel = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
|