Copy link to clipboard
Copied
Hello,
I am currently working on a video chat application with Adobe Media Server using rtmfp protocol. I am looking for an effective way of sending messages directly to a specic peer. Please, can someone give me information in regards to this.
Thank You
Copy link to clipboard
Copied
Please check this documenatation: http://help.adobe.com/en_US/flashmediaserver/devguide/WSa4cb07693d123884520b86f312a354ba36d-7ffe.htm...
Copy link to clipboard
Copied
Hi, Thank you for your reply. So, for example if they are 100 memebrs in a single group. And, you are looking to connect up with one peer and send him a data message you would do the following:
Firstly you create your groupspecs then:
//Connecting clients
function sendMsg():void{
var send:Object = new Object();
send.destination = ConvertPeerIDToGroupAddress(NC.nearID);
send.value = "HI";
netGroup.sendToNearest(msg, dst, dst,);
btn_click(MouseEvent.CLICK, btnSend);
function btnSend(event:MouseEvent):void{
trace("Clicked");
This is my understanding but Is this method correct? Thnak You
Copy link to clipboard
Copied
Hello, Rather that post a new thread i continue to use this one. I am still unsure how i should approach this. For example, peer number 50 is looking to send a data message to 100 no.
How will you send a message to him? I dont think my code above would work that's more random. Thanks.