nubomediaTI / Kurento-iOS

Kurento Toolbox for iOS
Apache License 2.0
120 stars 76 forks source link

Socket connection issue. #17

Open utkarshs07 opened 8 years ago

utkarshs07 commented 8 years ago

I am running kurento-iOS demo project using my server on which kurento is already set-up.

When i press join button NBMRoomManager tries to connect socket channel.

NBMJSONRPCClient executes connect method.

channel in state opening and then successfully opened and then automatically goes in closed state.

Room manager again retries to connect and again same thing happens and this process going in a loop

and also getting timeout error on join room.

I've also found that under NBMTransportChannel this method:

- (void)webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean

giving me this: error code: 1002, reason: Invalid path

Any help would be appreciated. Thanks!