mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-09 06:01:08 +02:00
updated tests
This commit is contained in:
parent
b063daecdb
commit
e060e717f3
|
@ -1 +1 @@
|
||||||
rtmpdump -v -r "rtmp://localhost/helo/pd"
|
rtmpdump -v -r "rtmp://localhost/myapp/mystream"
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
ffmpeg -loglevel verbose -re -i /mnt/home/rarutyunyan/Videos/anything_else-solaris.giga.su.avi -f flv rtmp://localhost/helo/movie
|
ffmpeg -loglevel verbose -re -i ~/movie.avi -f flv rtmp://localhost/myapp/mystream
|
||||||
#ffmpeg -loglevel verbose -re -i /mnt/home/rarutyunyan/Videos/the_changeup-solaris.giga.su.avi -an -f flv rtmp://localhost/helo
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ rtmp {
|
||||||
|
|
||||||
publish_time_fix off;
|
publish_time_fix off;
|
||||||
|
|
||||||
application helo {
|
application myapp {
|
||||||
|
|
||||||
live on;
|
live on;
|
||||||
|
|
||||||
|
@ -34,7 +34,6 @@ rtmp {
|
||||||
record_path /tmp;
|
record_path /tmp;
|
||||||
|
|
||||||
record_max_size 128K;
|
record_max_size 128K;
|
||||||
#record_max_frames 4;
|
|
||||||
record_interval 30s;
|
record_interval 30s;
|
||||||
|
|
||||||
record_suffix .this.is.flv;
|
record_suffix .this.is.flv;
|
||||||
|
@ -42,13 +41,6 @@ rtmp {
|
||||||
on_publish http://localhost:8080/publish;
|
on_publish http://localhost:8080/publish;
|
||||||
on_play http://localhost:8080/play;
|
on_play http://localhost:8080/play;
|
||||||
on_record_done http://localhost:8080/record_done;
|
on_record_done http://localhost:8080/record_done;
|
||||||
|
|
||||||
#wait_key_frame on;
|
|
||||||
|
|
||||||
# publish only from localhost
|
|
||||||
#allow publish 127.0.0.1;
|
|
||||||
|
|
||||||
#deny publish all;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ffplay -loglevel verbose "rtmp://localhost/helo/pd"
|
ffplay -loglevel verbose "rtmp://localhost/myapp/mystream"
|
||||||
|
|
|
@ -10,25 +10,8 @@
|
||||||
src: "/jwplayer/player.swf",
|
src: "/jwplayer/player.swf",
|
||||||
config: {
|
config: {
|
||||||
bufferlength: 1,
|
bufferlength: 1,
|
||||||
file: "webcam",
|
file: "mystream",
|
||||||
streamer: "rtmp://192.168.0.100/helo",
|
streamer: "rtmp://localhost/myapp",
|
||||||
provider: "rtmp",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="container2">Loading the player ...</div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
jwplayer("container2").setup({
|
|
||||||
modes: [
|
|
||||||
{ type: "flash",
|
|
||||||
src: "/jwplayer/player.swf",
|
|
||||||
config: {
|
|
||||||
bufferlength: 1,
|
|
||||||
file: "movie",
|
|
||||||
streamer: "rtmp://127.0.0.1/helo",
|
|
||||||
provider: "rtmp",
|
provider: "rtmp",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var flashvars =
|
var flashvars =
|
||||||
{
|
{
|
||||||
'streamer': 'rtmp://192.168.0.100/helo',
|
'streamer': 'rtmp://10.31.1.78/myapp',
|
||||||
'file': 'webcam',
|
'file': 'mystream',
|
||||||
'type': 'camera',
|
'type': 'camera',
|
||||||
'controlbar': 'bottom',
|
'controlbar': 'bottom',
|
||||||
'stretching': 'none',
|
'stretching': 'none',
|
||||||
|
|
Loading…
Reference in a new issue