Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

getRegion() func return "unauthorized"

Bikbaev__Timur1
初学者
1,134 次查看

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 项奖励
7 回复数
Bikbaev__Timur1
初学者
1,134 次查看

MCU version that we are using for the moment = 3.5.2

0 项奖励
Qiujiao_W_Intel
1,134 次查看

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

0 项奖励
Bikbaev__Timur1
初学者
1,134 次查看

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

0 项奖励
Bikbaev__Timur1
初学者
1,134 次查看

maybe you can share 3.5.2 documenation about that?

0 项奖励
Qiujiao_W_Intel
1,134 次查看

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 
  )
 
0 项奖励
Bikbaev__Timur1
初学者
1,134 次查看

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

0 项奖励
Qiujiao_W_Intel
1,134 次查看

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.

0 项奖励
回复