推流地址如下
rtmp://my.live.com/live/0af12cb829a14f0ebe1c85ce6119a008?key=123456&type=2
rtmp {
server {
listen 1935;
application hls {
live on;
hls_nested on;
hls on;
hls_path /live;
}
}
}
我想在nginx里面接收参数 然后处理怎么做?
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<title>直播 - 移动版</title>
<style>
body {
width: 20em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
</style>
</head>
<body>
<h1>直播</h1>
<hr>
<p>欢迎访问手机版直播!</p>
<video src="/streaming/index.m3u8" controls="controls" width="320" height="240">
您的浏览器不支持 video 标签,或者您的设备无法解码 m3u8 格式。请访问 <a href="../desktop/">桌面版网页</a> 尝试使用 Javascript 解码。
</video>
<br>
<br>
<br>
<hr>
<p>如果无法观看,请访问 <a href="../desktop/">桌面版网页</a> 尝试使用 Javascript 解码。</p>
</body>