Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

RTMP->PHP Parse Help

$
0
0

I'm having a slight issue via a php script which connects to an rtmp server running flashcoms community chat 7 software

upon receiving a message this code is initiated

static function ReceiveMessage($data) { 
        $f = $data['message']->getAMFData(); 
        echo "rm0msgreceive^".utf8_decode($f['content'])."^{$f['senderID']}^{$f['receiverID']}^{$f['roomID']}\n"; 

I'm trying to receive the roomID but my client keeps telling me the roomID index does not exist? however I do see it within the packet using wireshark... here is the packet snippet

C..........ReceiveMessage.@K...........message
.Ecom.flashdevs.f7.chat.vo.MessageVO.senderID..u1374740155855.receiverID...content.%hello world lol.date..Bt...c...whisper..imageID...imageExtention...youTubeLink...roomID..room1.

As you can see at the bottom is the roomID (ROOM1) but does not receive the value? confusing!!

Need experienced php coder to assist! thanks! 


Viewing all articles
Browse latest Browse all 13200

Trending Articles