• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Sending Messages To Other Clients

Community Beginner ,
Mar 03, 2013 Mar 03, 2013

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

Views

648

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 04, 2013 Mar 04, 2013

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 12, 2013 Mar 12, 2013

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 27, 2013 Mar 27, 2013

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines