Streaming Red5视频聊天教程AS3

Streaming Red5视频聊天教程AS3,streaming,video-streaming,red5,video-conferencing,Streaming,Video Streaming,Red5,Video Conferencing,在哪里可以找到基于AS3和Red5的视频聊天应用程序的工作示例? 我很难理解如何将一个用户流附加到另一个用户,反之亦然。有人能指出一个简单的示例或提供一些示例代码吗?这里有一个指向Red5中SimpleChat演示项目的链接: 总之,给你一个基本的概念: 假设您有一个聊天应用程序,那么每个用户都有一个ID,对吗?因此,让我们假设一个场景,其中用户a开始将麦克风/摄像机流式传输给用户B: 以下是指向Red5中SimpleChat演示项目的链接: 总之,给你一个基本的概念: 假设您有一个聊天应用程序

在哪里可以找到基于AS3和Red5的视频聊天应用程序的工作示例?
我很难理解如何将一个用户流附加到另一个用户,反之亦然。有人能指出一个简单的示例或提供一些示例代码吗?

这里有一个指向Red5中SimpleChat演示项目的链接:

总之,给你一个基本的概念: 假设您有一个聊天应用程序,那么每个用户都有一个ID,对吗?因此,让我们假设一个场景,其中用户a开始将麦克风/摄像机流式传输给用户B:


以下是指向Red5中SimpleChat演示项目的链接:

总之,给你一个基本的概念: 假设您有一个聊天应用程序,那么每个用户都有一个ID,对吗?因此,让我们假设一个场景,其中用户a开始将麦克风/摄像机流式传输给用户B:


惊人:惊人!现在尝试将“AS3”和“RealWorking sample”添加到查询中……)你找到@Rui了吗?太棒了!太棒了!现在尝试将“AS3”和“RealWorking sample”添加到查询中……)你找到什么了吗@Rui?
//start streaming the mic and camera
nsPub = new NetStream ( netConnection );
nsPub.attachAudio(Microphone.getMicrophone());
nsPub.attachCamera(Camera.getCamera());
nsPub.publish('A');

//need to send a command to user B to notify him that user A started streaming, 
//this command can be sent by a SharedObject or invoking a remote method, that will 
//invoke a client method in B

//code to receive the mic/cam streaming from user A
nsCli = new NetStream ( netConnection );
videoCompoment.attachNetStream( nsCli );
nsCli.play('A');