You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgoraService not initialize _agoraService object , on the next line _agoraService.JoinChannelSuccess it gives exception object reference not set to an instance of an object because AgoraService.Current not initialize the object it remains null
AgoraService not initialize _agoraService object , on the next line _agoraService.JoinChannelSuccess it gives exception object reference not set to an instance of an object because AgoraService.Current not initialize the object it remains null
public void Init()
![Screenshot 2021-07-25 at 2 41 08 AM](https://user-images.githubusercontent.com/65367128/126881626-f4da4c8e-d9b8-44eb-96b5-bcbd28b20dda.png)
{
_isEnded = false;
if (_agoraService == null)
{
_agoraService = AgoraService.Current;
_agoraService.JoinChannelSuccess += (uid) => { };
_agoraService.OnDisconn
ected += OnDisconnected;
_agoraService.OnNewStream += OnNewStream;
_agoraService.StartSession(Room, Consts.AgoraAPI, Consts.Token, webSdkInteroperability: true);
}
}
The text was updated successfully, but these errors were encountered: