Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

getRegion() func return "unauthorized"

Bikbaev__Timur1
Beginner
253 Views

when we trying to call getRegion method for second stream we receive "unauthorized" ( for first stream getRegion() works) . Ive checked MCU logs - nothing there.

0 Kudos
7 Replies
Bikbaev__Timur1
Beginner
253 Views

MCU version that we are using for the moment = 3.5.2

Qiujiao_W_Intel
Employee
253 Views

Only admin role user can get all user's stream info (like region), normal user can only get his own stream info. If you want to get all the stream info please use admin role

Bikbaev__Timur1
Beginner
253 Views

Thanks for reply Qiujiao, how i can change role to admin?

Bikbaev__Timur1
Beginner
253 Views

maybe you can share 3.5.2 documenation about that?

Qiujiao_W_Intel
Employee
253 Views

You can specify role for user when calling createToken API, please download 3.5 client js document on this:

void N.API.createToken ( string  room,
    string  username,
    string  role,
    string  type,
    object  preference,
    function  callback,
    function  callbackError 
  )
 
Bikbaev__Timur1
Beginner
253 Views

Qiujiao, can you share link to 3.5 documentation cause cannot find it

Qiujiao_W_Intel
Employee
253 Views

You can go to https://software.intel.com/en-us/webrtc-sdk/download and download update 3.5.2 package, documents are included, please refer N.API.createToken in js document.

Reply