- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
Hello,
we've tried to run a sample project but got the "token invalid" error? Where can be find valid creditials for testing sample iOS p2p project "url" and "id"?
Does your WebRTC client support cloud hosted turn/stun servers?
Best regards, Daniil.
- Tags:
 - HTML5
 - JavaScript*
 
Link Copied
		1 Reply
	
		
		
			
			
			
					
	
			- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
Hi Daniel,
Token’s format depends on signaling channel’s implementation. The default signaling channel (SocketSignalingChannel.mm) accepts a JSON string with two properties: token and host. Host is PeerServer’s URL and token is your ID. Currently, PeerServer doesn’t check client’s credential.
Client SDKs don’t care about how STUN and TURN server deploy. Just provide URL and credentials to SDK.
Thanks!
					
					Reply
					
						
	
		
				
				
				
					
						
					
				
					
				
				
				
				
			
			Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page