基于p2p点播html5源码,毕业论文-基于HTML5的P2P流媒体传输系统的设计与实现.docx...

PAGE

单位代码

学号

分类号

毕业设计(论文)

基于HTML5的P2P流媒体传输技术的

设计与实现

院(系)名称

专业名称

计算机科学与技术

学生姓名

指导教师

2014年6月

北京航空航天大学毕业设计(论文) 第PAGE \* ROMAN I页

基于HTML5的P2P流媒体传输技术的设计与实现

摘 要

P2P流媒体传输技术是一项基于对等网络的大规模流媒体实时直播技术。P2P流媒体传输技术使用类似于BitTorrent的原理,客户端在接收视频媒体流时也向网络中的其他客户端上传视频媒体流。因此,采用P2P流媒体传输技术的流媒体服务系统C/S架构的传统系统,具有很高的性能优势。

目前,市场上已经有数款成熟的P2P流媒体直播软件,例如Adobe Media Server、PPLive等。但它们的使用需要用户安装专门的客户端或插件,用户体验不是很理想。因此,本文设计了一套基于浏览器的P2P流媒体传输系统,该系统使用HTML5技术实现,具有良好的跨平台性,无需安装任何第三方插件即可在桌面和移动平台上使用。

在技术方面,本文设计了一套对等网络,可以实现节点与节点的相互连接与媒体传输。此网络使用中心服务器来协调网络结构的变更,处理节点的加入与退出。此网络采用树形拓扑作为的部连接结构,方便动态调整,且具有较小的传输延迟。本网络使用WebRTC技术来实现客户端间的流媒体点对点传输,使用WebSocket实现与服务器的实时通信。

此外,本文制作了一个“远程桌面控制”的示例程序,展示了本系统在实际场景中的使用效果。

关键词:P2P流媒体传输、WebRTC、HTML5

A P2P streaming system designed and implemented with HTML5

Abstract

P2P streaming is a method for large-scale live video broadcasting with peer-to-peer networks. It utilizes mechanisms similar to the BitTorrent network, in which clients upload what is downloaded to other clients. In this way, it gains higher performance than the traditional C/S architecture.

There has been several popular P2P live video streamers, such as Adobe Media Server and PPLive. However, they require client software or browser plugins to function, which lead to a drop in the user experience. In this paper, we design a browser-based P2P streaming system which is implemented with HTML5 and without any third-party plugins, being able to operate on any desktop and mobile browsers and featuring better portability.

In technical aspect, this paper designed a peer-to-peer network, which connects clients and transmits media streams between them. The network connects peers into tree-shaped mesh whose structure is managed and coordinated by a central server. The technology for media streaming between peers is WebRTC. And the technology for real-time communications between clients and the server is WebSocket.

In the last part of this paper, we present a “remote desktop controlling” program to demonstrate the

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值