Posted on 2006-03-17 08:50
Tauruser 閱讀(479)
評論(0) 編輯 收藏 引用
對于這個標題,我了解得并不是很多。以前進行的網絡編程也是很簡單的,都是通過已有的控件進行網絡連接。這樣說吧,整個網絡協議已經讓控件封裝好了,我只是簡單的調用一下控件本身自帶的函數就可以很方便的進行網絡通訊。比如我去年搞的,某市高考錄取情況查詢器,就是簡單的通過ALTHTTP這個已經封裝好的類進行網絡連接。但是現在我面對的是一個沒有公開標準的協議。另一方面來說,這個協議也就不存在已經可以讓我利用的已經封裝好的類或控件。(至少我沒有找到這樣的類,如果有的話,麻煩告訴我一聲,THX)。完全沒有過編寫網絡協議方面的經驗,這次對我來說也算是一個不小的挑戰。還好事情總是有好的一方面的,我還是在網上找到了關于MMS協議的分析版,在這里我對SDP TEAM的工作表示感謝。SDP TEAM 杰出的工作讓我減少了很多壓力,雖然SDP TEAM并沒有公開其SDP的源代碼。但是一份對MMS分析的文檔已經是對我很大的幫忙的。
進行這樣一個工程,應該注意哪些方面呢?希望有朋友可以幫我指出。
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.