加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

基于RTMP协议的Flash流媒体网页直播播放器

发布时间:2020-12-15 17:24:05 所属栏目:百科 来源:网络整理
导读:? ? 本文记录一些基于Flash技术的网页播放器。基于Flash的网页播放器相比于其他网页播放器来说最大的优势就是“免插件安装”了,这一点可以很大的提高用户的体验质量。 主要是几种常用的网页播放器: rtmp_player_adobe: ? ? ? 从Adobe Flash Media Sever提
? ? 本文记录一些基于Flash技术的网页播放器。基于Flash的网页播放器相比于其他网页播放器来说最大的优势就是“免插件安装”了,这一点可以很大的提高用户的体验质量。


主要是几种常用的网页播放器:
rtmp_player_adobe: ? ? ? 从Adobe Flash Media Sever提取出来的测试播放器
rtmp_player_wowza: ? ? ?从Wowza服务器中提取出来的测试播放器

rtmp_player_flowplayer: 基于FlowPlayer的RTMP/HTTP播放器(添加RTMP plugin)


【rtmp_player_adobe】



【rtmp_player_flowplayer】

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="flowplayer-3.2.8.min.js"></script>
<title>HacFin FlowPlayer</title>
</head>

<body>	
	<h1>HacFin FlowPlayer</h1>
	
	<!-- this A tag is where your Flowplayer will be placed. it can be anywhere -->
	<a  
		 href="#"
		 style="display:block;width:720px;height:576px"  
		 id="player"> 
	</a> 
	<!-- this will install flowplayer inside previous A- tag. -->
	<script>
	flowplayer("player","flowplayer-3.2.8.swf",{ 
		clip: { 
		  url: 'hkfystream',//流的名称
		  provider: 'rtmp',live: true,},plugins: {  
		   rtmp: {  
			 url: 'flowplayer.rtmp-3.2.8.swf',netConnectionUrl: 'rtmp://192.168.3.189/oflaDemo' //流的服务器地址
		   } 
	   } 
	});
	</script>

	<p>		
		Sample RTMP URL (Live) is "rtmp://192.168.3.189/oflaDemo/hkfystream"
	</p>
	
</body>
</html>



【rtmp_player_wowza】


【下载地址】

基于RTMP协议的Flash流媒体网页播放器


参考:http://blog.csdn.net/wishfly/article/details/44534139

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读