Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@icywind
Last active February 5, 2021 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icywind/1d986d342bb94d891bf5300da9201af2 to your computer and use it in GitHub Desktop.
Save icywind/1d986d342bb94d891bf5300da9201af2 to your computer and use it in GitHub Desktop.
public string AppID;
public string ChannelName;
VideoSurface myView;
VideoSurface remoteView;
IRtcEngine mRtcEngine;
void Awake()
{
// SetupUI();
}
void Start()
{
// SetupAgora();
}
void Join()
{}
void Leave()
{}
void OnJoinChannelSuccessHandler(string channelName, uint uid, int elapsed)
{}
void OnLeaveChannelHandler(RtcStats stats)
{}
void OnUserJoined(uint uid, int elapsed)
{}
void OnUserOffline(uint uid, USER_OFFLINE_REASON reason)
{}
void OnApplicationQuit()
{}
@jelling
Copy link

jelling commented Feb 5, 2021

It would be helpful to start users out with a full component script, or alternately, tell them the namespaces they need to import, which are:

using agora_gaming_rtc;
using agora_utilities;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment