Reading
Add Comment
The documentation for the FlashMediaServer server Client.farId and Client.nearId properties is incorrect. In iteration of the client object after a successful RTMFP connection reads
application.onConnect = function(client)
{
application.acceptConnection(client);
for(var i in client){
trace(i+" = "+client[i]);
}
}
Output:
nearID = 824beb91c28fc2597df9........
farID = d3c32644eaacb09763b7c........
nearNonce = 0a7170efc94e3ee426695af......
farNonce = 938387fab82a36ea3aa03c3b........
The correct properties are Client.farID and Client.nearID
application.onConnect = function(client)
{
application.acceptConnection(client);
for(var i in client){
trace(i+" = "+client[i]);
}
}
Output:
nearID = 824beb91c28fc2597df9........
farID = d3c32644eaacb09763b7c........
nearNonce = 0a7170efc94e3ee426695af......
farNonce = 938387fab82a36ea3aa03c3b........
The correct properties are Client.farID and Client.nearID
0 comments:
Post a Comment