| The popularity of internet has largely promoted the development of distance education, and the implementation of streaming media technology has changes the way of distance education. However, some problems have arisen in the process of widespread use of streaming media technology. For example, because of the transmission of streaming media data's significant cost, a server with a finite available capability of bandwidth, CPU power, buffer memory, and IO rates, will become a bottleneck when huge requirements arrive simultaneously. This will leave users an unfavorable impression. In case of long distance streaming media transmission between client and server, delay and data lost will happen inevitably. The problems above greatly obstruct the application of streaming media technology. And one effective way to them is using P2P (peer to peer) technology into the distribution system of streaming media.This thesis consists of two parts. In the first part, key technologies of P2P streaming media system development is introduced. The research uses JXTA, a common development platform of SUN, as the development environment. Key technologies, such as JXTA software architecture, peer group establishment, resource publishing, service discovery, and communication across a firewall, are analyzed in detail. In protocol issues, RTP/RTCP and its working flow are discussed. The thesis uses JMF, an open source Java media framework, as the development framework of streaming media player. JMF's data processing model and support for RTP/RTCP are carefully studied as well. The part two of the thesis consists of presentment of every process in the course of a P2P stream media system development. Each step of the development course is detailedly introduced in the sense of software engineering. Finally, strict test of the whole system proves the feasibility of related solution and design schemes. |