Jump to content

Recommended Posts

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! 

Link to comment
https://forums.phpfreaks.com/topic/280555-rtmp-php-parse-help/
Share on other sites

We're not going to write your code for you. That's not what we do. Now, please answer requinix's question.

 

First off, how rude.. Secondly i thought this was a help forum. Thirdly you obviously didn't understand what I was asking for. Fourth I think i'll take my business elsewhere

Link to comment
https://forums.phpfreaks.com/topic/280555-rtmp-php-parse-help/#findComment-1442352
Share on other sites

This is a help forum. We help our members help themselves by answering specific coding questions, so they can see how the answer to that particular problem can be applied in a more global sense. We don't provide solutions to entire problems out of the gate unless they're trivial. Asking one of the team to either write a solution that you can check or rudimentary code that can be learned by visiting the online PHP manual is exactly NOT what we do here.

Link to comment
https://forums.phpfreaks.com/topic/280555-rtmp-php-parse-help/#findComment-1442356
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.