摘要
提出一种直播服务器设计方案,媒体接收端根据节目链接访问媒体源,获取媒体数据流;媒体数据缓冲区是一个双循环缓冲区,循环缓存媒体接收端获取的媒体数据流;媒体服务器发送端根据媒体数据缓冲区建立子会话,生成访问该节目的直播服务器链接,终端通过链接访问直播服务器,直播服务器从媒体数据缓冲区中循环读取媒体数据发送给终端。设计方案具有适合多种网络、架设过程简单、可多台服务器级联等特点,并且成本低廉,可扩展性强。
The design concept of a live streaming server is put forward. Under the program link, the media receiver accesses the source media to acquire media data flow. The media data buffer is dual cycle. The dual cycle buffer is used to circle and cache the media data flow obtained by the media receiver. According to the media data buffer, the media server sender establishes a subsession to generate a link to visit the live streaming server, and the terminal visits the live streaming server through this link. The server circularly reads media data from the media data buffer and sends those data to the terminal. The design concept is suitable for a variety of networks, easy to implement, and capable of cascading multiple servers. Furthermore,it is characteristic of low-cost and strong extensibility.
出处
《计算机与网络》
2009年第20期43-46,共4页
Computer & Network
基金
湖北省科技攻关计划(2006AA101A03)