Posted on 2006-03-17 08:50
Tauruser 閱讀(483)
評(píng)論(0) 編輯 收藏 引用
對(duì)于這個(gè)標(biāo)題,我了解得并不是很多。以前進(jìn)行的網(wǎng)絡(luò)編程也是很簡(jiǎn)單的,都是通過(guò)已有的控件進(jìn)行網(wǎng)絡(luò)連接。這樣說(shuō)吧,整個(gè)網(wǎng)絡(luò)協(xié)議已經(jīng)讓控件封裝好了,我只是簡(jiǎn)單的調(diào)用一下控件本身自帶的函數(shù)就可以很方便的進(jìn)行網(wǎng)絡(luò)通訊。比如我去年搞的,某市高考錄取情況查詢器,就是簡(jiǎn)單的通過(guò)ALTHTTP這個(gè)已經(jīng)封裝好的類進(jìn)行網(wǎng)絡(luò)連接。但是現(xiàn)在我面對(duì)的是一個(gè)沒(méi)有公開(kāi)標(biāo)準(zhǔn)的協(xié)議。另一方面來(lái)說(shuō),這個(gè)協(xié)議也就不存在已經(jīng)可以讓我利用的已經(jīng)封裝好的類或控件。(至少我沒(méi)有找到這樣的類,如果有的話,麻煩告訴我一聲,THX)。完全沒(méi)有過(guò)編寫(xiě)網(wǎng)絡(luò)協(xié)議方面的經(jīng)驗(yàn),這次對(duì)我來(lái)說(shuō)也算是一個(gè)不小的挑戰(zhàn)。還好事情總是有好的一方面的,我還是在網(wǎng)上找到了關(guān)于MMS協(xié)議的分析版,在這里我對(duì)SDP TEAM的工作表示感謝。SDP TEAM 杰出的工作讓我減少了很多壓力,雖然SDP TEAM并沒(méi)有公開(kāi)其SDP的源代碼。但是一份對(duì)MMS分析的文檔已經(jīng)是對(duì)我很大的幫忙的。
進(jìn)行這樣一個(gè)工程,應(yīng)該注意哪些方面呢?希望有朋友可以幫我指出。
What is MMS?
MMS or ' Microsoft Media Server ' protocol is Microsoft's proprietary network streaming protocol. Microsoft has never released a specification to describe how MMS actually works, yet it is extensively used by their Microsoft media player software. MMS protocol can be used on top of TCP and UDP transport protocols over any network medium. Its primary use is to stream live or prerecorded audio and video content to your computer without any need to download a file before playing.
Who and what is SDP ?
SDP or the Streaming Download Project is a small dedicated team of independent software coders. We are a nonprofit team with only one goal - understanding (and documenting) MMS fully. Our resulting implementation of our MMS document has lead to the development of a MMS streaming receiver for windows media streaming. So now, not only can you view the streaming media in preview mode, SDP receiver downloads (or copies) the stream to your hard disk. This cannot be achieved with a standard Windows Media player.
We believe our project to be the only one of its kind in the world (or at least the first of many!) with other MMS developers using our findings as a basis for their own code implementations. Of that we are proud and glad to be of service. We are always open to comments and feedback and of course your own findings and information on MMS are welcome.
Remember, SDP can now download the following protocols, not just mms:
Http v1.0 streaming protocol,Http progressive (simple http download) and of course: mms, mmst and mmsu over both TCP and UDP transport protocols.The current version of SDP (2.0.0) does not support RTSP streaming. This will be featured in the next release.