Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

How to connect native client to web client ? #145

Open
iamsb1896 opened this issue May 25, 2021 · 5 comments
Open

How to connect native client to web client ? #145

iamsb1896 opened this issue May 25, 2021 · 5 comments

Comments

@iamsb1896
Copy link

How to connect native client to web client ?

Hi, We are trying to build a multiplatform system using Agora-SDK. We are able to see the client joined from web side to native but Native Client is visible on Web ?

Native Platform : Android (Flutter)
Web Browser: Chrome

Web Client

var client = AgoraRTC.createClient({ mode: "live", codec: "h264" });

Native

_engine = await RtcEngine.create(appId);
await _engine.enableWebSdkInteroperability(true);
@yoreland
Copy link

Can you provide a channel name? We will check background to see what happened.

@iamsb1896
Copy link
Author

Channel Name: "demo"
Agora ID : "521b45c7bd45402f92af301fc4096aee"
Temp Token: "006521b45c7bd45402f92af301fc4096aeeIAAPjfyYofjo4+WKy52+4/zbIf564VUIXLZZBUHw7meCwKDfQtYAAAAAEABc42rkwRyxYAEAAQDCHLFg"

The React Code is working perfectly but we Vanilla JS code is showing User joined by Native SDK ?
We implemented event listeners as

client.on("user-published", handleUserPublished);

"handleUserPublished" is not getting triggered when Native User join session...

@iamsb1896
Copy link
Author

Can you provide a channel name? We will check background to see what happened.

Can you provide a channel name? We will check background to see what happened.

Channel Name: "demo"
Agora ID : "521b45c7bd45402f92af301fc4096aee"
Temp Token: "006521b45c7bd45402f92af301fc4096aeeIAAPjfyYofjo4+WKy52+4/zbIf564VUIXLZZBUHw7meCwKDfQtYAAAAAEABc42rkwRyxYAEAAQDCHLFg"

The React Code is working perfectly but we Vanilla JS code is showing User joined by Native SDK ?
We implemented event listeners as

client.on("user-published", handleUserPublished);

"handleUserPublished" is not getting triggered when Native User join session...

@ankitbrahmbhatt1997
Copy link

@iamsb1896 any solution to this ?

@iamsb1896
Copy link
Author

@iamsb1896 any solution to this ?

Nope.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants