namespace TinyChat
{
class Program
{
NetConnection Client;
static void Main(string[] args)
{
Program TinyChat_Function = new Program();
TinyChat_Function.connectTinyChat();
}
void connectTinyChat()
{
Client = new NetConnection();
Client.OnConnect += new ConnectHandler(Client_OnConnect);
Client.NetStatus += new NetStatusHandler(Client_NetStatus);
Client.Connect("rtmp://209.212.144.77:443/tinyconf", new string[] { "SomeRoom", "none", "show", "tinychat" });
}
}
错误:
1 The name 'Client_OnConnect' does not exist in the current context
2 The name 'Client_netStatus' does not exist in the current context
使用最新版本的 FluorineFx。
文档显示这是执行此操作的正确方法,但这不起作用。关于如何解决这个问题的任何想法?