Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

iOS sample trouble

Daniel_K_4
Beginner
104 Views

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.

 

 

0 Kudos
1 Reply
Chunbo_H_Intel1
Employee
104 Views

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