Avatar

Level 1

Works like a charm:

private function onPeerConnect(caller:NetStream):Boolean
{

     setTimeout(_sendStream.send, 250, "|RtmpSampleAccess", true, true); //You can also poll this - setInterval instead of timeout.

     return true;
}