Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

joinChannel with Info

See original GitHub issue

I wanna join channel with info.

I got error in iOS

Exception '-[__NSDictionaryM length]: unrecognized selector sent to instance 0x280d66840' was thrown while invoking joinChannel on target Agora with params

my code

await RtcEngine.joinChannel(channel, undefined, undefined, {
      userName: 'testUser1',

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:56

github_iconTop GitHub Comments

marqroldancommented, Jun 23, 2020

Try this guide you apparently need to call registerLocalUserAccount first

LichKing-2234commented, Jun 22, 2020

the optionalInfo param of joinChannel is not the userInfo. you can get more info from the comment about joinChannel method. getUserInfoByUid should be called after joinChannelWithUserAccount

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to pass extra information while join channel #92
i used joinChannel function and pass a String in optionalInfo but other users can't get that String while joining. i used ...
Read more >
joinChannel method : uid assignment -
The doc is specifing for the joinChannel method : The user ID. A 32-bit unsigned integer with a value ranging from 1...
Read more >
Method: channels.joinChannel - MadelineProto
Method: channels.joinChannel. Back to methods index. Join a channel/supergroup. Parameters: Name, Type, Description, Required. channel, Username, chat ID, ...
Read more >
How can I use string user names? - Agora Documentation
// Joins the channel with the registered user account. 7. agoraKit.joinChannel(byUserAccount: myStringId, ...
Read more >
com.ircclouds.irc.api.IRCApi.joinChannel java code examples"Joining channel %s", chan); irc.joinChannel(chan);
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found