airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
197 stars 11 forks source link

NetGroup communication problem on mobile networks #1967

Open Adrian-S opened 2 years ago

Adrian-S commented 2 years ago

We are trying to have a reliable real time communication using RTMFP, but mobile, most of the times will not communicate with desktop (tested Android + Desktop). We are using MonaServer without any extra configuration, and this solution worked for us in the past, but at a certain time started failing. We started a discussion #1938 but firebase is not supported on desktop.

From MonaServer logs, a connection is established, a NetGroup connection is made too, but they are not in the same “neighbourhood”.

Our code:

myGrpSpec = new GroupSpecifier("myGroup");
myGrpSpec.postingEnabled = true;
myGrpSpec.ipMulticastMemberUpdatesEnabled = true;
myGrpSpec.serverChannelEnabled = true;
myGrpSpec.objectReplicationEnabled = true;
ng = new NetGroup(nc, myGrpSpec.groupspecWithAuthorizations());
ng.addEventListener(NetStatusEvent.NET_STATUS, ngEventHandler);

I'm trying to diagnose the problem, but I don’t know how. There are no errors in as3, but sometimes Mona will complain about "Missing port number in ´┐Ż´┐Ż", with these silly characters at the end, and this happens only on mobile connection. According to https://helpx.adobe.com/adobe-media-server/dev/rtmfp-groups.html#bootstrap_a_peer_to_a_group this sounds like a bootstrapping issue, but serverChannelEnabled should resolve this.

I saw you fixed something on NetStream #330, could NetGroup have a similar issue?

Is there anything I might be missing or doing wrong? Adobe manual is a bit confusing around this topic.

Any help would be welcomed. Thank you.

raresn commented 2 years ago

@ajwfrost do you have any ideas what we could do?