tag:blogger.com,1999:blog-181484357747627654.post2687445582305621536..comments2024-01-26T23:49:51.728-08:00Comments on Thompson's Technological Insight: RTMP Part 4 - Command MessageThompson Nghttp://www.blogger.com/profile/14008404474958460857noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-181484357747627654.post-18439920211706941582012-03-18T19:06:54.963-07:002012-03-18T19:06:54.963-07:00@J.J Thanks for the additional information.
@admi...@J.J Thanks for the additional information.<br /><br />@admin Grad that it helpsThompson Nghttps://www.blogger.com/profile/14008404474958460857noreply@blogger.comtag:blogger.com,1999:blog-181484357747627654.post-8585347296094424392012-03-18T17:46:52.327-07:002012-03-18T17:46:52.327-07:00Thanks for clarifying the format of the "Shar...Thanks for clarifying the format of the "Shared Object Message." The Adobe specification document didn't give any insight at all.adminhttps://www.blogger.com/profile/10380334607013493186noreply@blogger.comtag:blogger.com,1999:blog-181484357747627654.post-15611416263020891042011-02-28T19:42:47.383-08:002011-02-28T19:42:47.383-08:00Hmmm... It might not be a paramter count.
***Deco...Hmmm... It might not be a paramter count.<br /><br />***Decode above resposes***<br />In shared object "presentation", there are properties(?) :<br />current - "499e4e19014d429995e22a7a7118c28a" (string : type 2)<br />playBuffer - 0 (number : type 0)<br /><br />In shared object "chatPermission", there are properties :<br />chatPermission - true (boolean : type 1)<br />chat - true (boolean : type 1)<br /><br />In shared object "announcement", there are properties :<br />message - "ok" (string : type 2)<br />enabled - true (boolean : type 1)Jia-Jium Leehttps://www.blogger.com/profile/12140800435240061886noreply@blogger.comtag:blogger.com,1999:blog-181484357747627654.post-73562239687189892392011-02-28T18:26:06.984-08:002011-02-28T18:26:06.984-08:00above repsone of "presentation" from wow...above repsone of "presentation" from wowza in ASCII :<br /><br />......o.......present<br />ation....... ........<br />..........,..current.<br />. 499e4e19014d429995e<br />22a7a7118c28a.......p<br />layBuffer.........<br /><br />above repsone of "chatPermission" and "announcement" from wowza in ASCII :<br /><br />......F.......chatPer<br />mission....... ......<br />...............public<br />Chat.........chat....<br />....G.......announcem<br />ent....... ..........<br />...........message...<br />OK.......enabled..Jia-Jium Leehttps://www.blogger.com/profile/12140800435240061886noreply@blogger.comtag:blogger.com,1999:blog-181484357747627654.post-63273288301050799942011-02-28T18:01:18.282-08:002011-02-28T18:01:18.282-08:00Thanks for the relies.
I sent that shared object ...Thanks for the relies.<br /><br />I sent that shared object ("presentation") to a wowza server and I got -<br /><br />04 00 00 00 00 00 6F 13 00 00 00 00 00 0C 70 72 65 73 65 6E 74 61 74 69 6F 6E 00 00 00 03 00 00 00 20 00 00 00 00 0B 00 00 00 00 08 00 00 00 00 04 00 00 00 2C 00 07 63 75 72 72 65 6E 74 02 00 20 34 39 39 65 34 65 31 39 30 31 34 64 34 32 39 39 39 35 65 32 32 61 37 61 37 31 31 38 63 32 38 61 04 00 00 00 15 00 0A 70 6C 61 79 42 75 66 66 65 72 00 00 00 00 00 00 00 00 00<br /><br />As I guess, the current version (00 00 00 03) might also be an alias for paramter count?<br /><br />I also sent two other shared objects ("chatPermission" and "announcement") to that server and I got -<br /><br />04 00 00 00 00 00 46 13 00 00 00 00 00 0E 63 68 61 74 50 65 72 6D 69 73 73 69 6F 6E 00 00 00 02 00 00 00 20 00 00 00 00 0B 00 00 00 00 08 00 00 00 00 04 00 00 00 0E 00 0A 70 75 62 6C 69 63 43 68 61 74 01 01 04 00 00 00 08 00 04 63 68 61 74 01 01 04 00 00 00 00 00 47 13 00 00 00 00 00 0C 61 6E 6E 6F 75 6E 63 65 6D 65 6E 74 00 00 00 02 00 00 00 20 00 00 00 00 0B 00 00 00 00 08 00 00 00 00 04 00 00 00 0E 00 07 6D 65 73 73 61 67 65 02 00 02 4F 4B 04 00 00 00 0B 00 07 65 6E 61 62 6C 65 64 01 01Jia-Jium Leehttps://www.blogger.com/profile/12140800435240061886noreply@blogger.comtag:blogger.com,1999:blog-181484357747627654.post-45324795468783279252011-02-25T23:21:08.408-08:002011-02-25T23:21:08.408-08:00Below is your decoded message.
03 00 00 8A 00 00 ...Below is your decoded message.<br /><br />03 00 00 8A 00 00 1F 13 00 00 00 00 00 0C 70 72 65 73 65 6E 74 61 74 69 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00<br /><br />Header:<br /><br />03 - FMT 0 with chunk stream id 3<br />00 00 8A - Timestamp<br />00 00 1F - Message length 31 bytes<br />13 - AMF 0 Shared Object message<br />00 00 00 00 - Message stream id<br /><br />Payload:<br /><br />00 0C - 12 bytes of shared object name <br />70 72 65 73 65 6E 74 61 74 69 6F 6E - ASCII word (presentation)<br />00 00 00 00 - Current Version 0<br />00 00 00 00 - Flag 0<br />00 00 00 00 - Unknown bytes<br />01 - Event type - Server Connect or Use<br />00 00 00 00 - Event dataThompson Nghttps://www.blogger.com/profile/14008404474958460857noreply@blogger.comtag:blogger.com,1999:blog-181484357747627654.post-39793587165719450592011-02-25T22:06:38.873-08:002011-02-25T22:06:38.873-08:00Both should be a 32 bit integer value
Under my ob...Both should be a 32 bit integer value<br /><br />Under my observation, flags is use to denote whether this shared object is persistent and it seems to be always 2 when shared object is persistent. Otherwise, it will be 0.Thompson Nghttps://www.blogger.com/profile/14008404474958460857noreply@blogger.comtag:blogger.com,1999:blog-181484357747627654.post-62758969957811316642011-02-24T22:22:37.098-08:002011-02-24T22:22:37.098-08:00Do you know the feild format of a shared object?
H...Do you know the feild format of a shared object?<br />How many bytes of "Current Version" and "Flags"?<br /><br />Below is a shared object "presentation":<br /><br />03 00 00 8A 00 00 1F 13 00 00 00 00 00 0C 70 72 65 73 65 6E 74 61 74 69 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00<br /><br />The event type might be "00 00 00 01" (Use).<br />The event data length might be "00 00 00 00".<br /><br />There are 9 bytes (all 0s) after "presentation" and before event type "Use".Jia-Jium Leehttps://www.blogger.com/profile/12140800435240061886noreply@blogger.com