OpenRTMFP / Cumulus

CumulusServer is a complete open source and cross-platform RTMFP server extensible by way of scripting
http://groups.google.com/group/openrtmfp-cumulus
GNU General Public License v3.0
593 stars 222 forks source link

Cumulus Not Sending Data to NetGroup #24

Closed Compy closed 12 years ago

Compy commented 13 years ago
    netConnection = new NetConnection();
netConnection.addEventListener(NetStatusEvent.NET_STATUS, NetStatusHandler);
netConnection.connect(Globals.SERVER + Globals.DEVKEY);

groupSpecifier = new GroupSpecifier(Globals.GROUP_PREFIX + "mygroupname");
groupSpecifier.multicastEnabled = true;
groupSpecifier.postingEnabled = true;
groupSpecifier.serverChannelEnabled = true;

netStream = new NetStream(netConnection, groupSpecifier.groupspecWithAuthorizations());
netStream.addEventListener(NetStatusEvent.NET_STATUS, NetStatusHandler);

netGroup = new NetGroup(netConnection, groupSpecifier.groupspecWithAuthorizations());
netGroup.addEventListener(NetStatusEvent.NET_STATUS, NetStatusHandler);

The peers connect and I see the sessions get created on the CumulusService side (running on Linux), but the data sent via POST never gets to the other side. This works on Adobe Cirrus.

// Send the text
var message:Object = new Object;

message.user = Globals.userName;
message.text = textInput.text;
message.sequence = sequenceNumber++;
message.sender = netConnection.nearID;

netGroup.post(message);

Has anyone seen this issue? What would be causing this?

The sample is also not working: http://labs.adobe.com/technologies/cirrus/samples/

Compy commented 13 years ago

By the way, I put the CirrusService in middle mode and I get the following every several seconds:

CRITIC Middle[305] Send to target packet impossible because the middle hanshake has certainly failed, the target address is may be bad Request: 0D 08 1B A2 A2 01 00 00 FF FF FF FF FF FF ...¢¢...ÿÿÿÿÿÿ Response: 4E A2 A9 08 1B 41 00 00 N¢©..A.. Request: 09 09 DD 0C 00 00 FF FF FF FF FF FF FF FF ..Ý...ÿÿÿÿÿÿÿÿ CRITIC Middle[305] Send to target packet impossible because the middle hanshake has certainly failed, the target address is may be bad Request: 09 0E BF 0C 00 00 FF FF FF FF FF FF FF FF ..¿...ÿÿÿÿÿÿÿÿ CRITIC Middle[305] Send to target packet impossible because the middle hanshake has certainly failed, the target address is may be bad

cumulusdev commented 12 years ago

your problem is solved?