Network 版 (精华区)
发信人: zzn (爱你到内伤), 信区: Network
标 题: mms协议英文资料(15)
发信站: 哈工大紫丁香 (2003年08月23日10:54:35 星期六), 站内信件
1A To Server
Prefix1 01 00 00 00 - CommandLevel
Prefix2 01 00 00 00 - flags unknown
Data xx xx xx xx -shows the length in bytes of the
encrypted password data
Then data follows
The data that follows is an encrypted password and ID key, which is then sent
to the server to gain access to its content. Passwords are ‘content’
specific rather than ‘Server’ specific. This means if your password is
disclosed to someone, they will only have access to that individual media
file, not the entire server site. This rule may change depending on the
servers’ policy. This is a reply to the server sent 1A command.
The encoded format string is simply: where ID is your id and PASSWORD is you
password!
ID:PASSWORD (including the colon : in the middle)
There could be four types of password encryption method in use by Media
Player:
BASIC -Uses BASIC authentication format with a Base64 encoding method
DIGEST -Uses Digest authentication format with MD4 or MD5 secure encoding
methods
NTLM - Now widely used by version 9 MMS servers.
ANONIMOUS - To be confirmed in its use.
On failure, the next command sent is the 0x06 to client showing an error code
(prefix 1 = 0x80070005).
This shows that password access was denied. On success, CommandLevel value
increments by 1.
1B To Client
Prefix 1 00 00 00 00 - ErrorCode
Prefix 2 04 00 00 00 - reflects the media PacketIDType value
This is a network timer test. The server sends these to the client at regular
intervals, about 1 every minute. The client must reply within a certain time
limit otherwise be cut off.
1B To Server
Prefix 1 01 00 00 00 - CommandLevel
Prefix 2 ff ff 01 00
This is a response to the 1B request, referred to as ACK. A 1B reply
indicates all is ok and no packets are missing.
This command is used for acknowledging a network test sent from the server at
regular intervals. These tests make sure that the viewer is still receiving
the media by making the viewer return a 1B command every minute or so on
demand form the server. If there was a problem at the client end with a lost
packet or bad connection, the 07 command is used to re-sync.
No data field is required, although extra data does show here sometimes.
1E To Client
Prefix 1 00 00 00 00 - ErrorCode
Prefix 2 04 00 00 00 - reflects the media PacketIDType value
End of media stream – stop playing. This also tells the player to empty what
is left it its buffer to the end.
--
如果世界上每个地方都可以看到月亮,
那就让我搬到月亮上去悄悄看你。
※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.243.49]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.285毫秒