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

getRegion() func return "unauthorized"

Bikbaev__Timur1
Beginner
125 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
125 Views

MCU version that we are using for the moment = 3.5.2

Qiujiao_W_Intel
Employee
125 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
125 Views

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

Bikbaev__Timur1
Beginner
125 Views

maybe you can share 3.5.2 documenation about that?

Qiujiao_W_Intel
Employee
125 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
125 Views

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

Qiujiao_W_Intel
Employee
125 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