updated tests

This commit is contained in:
Roman Arutyunyan 2012-04-17 15:12:45 +04:00
parent b063daecdb
commit e060e717f3
6 changed files with 8 additions and 34 deletions

View file

@ -1 +1 @@
rtmpdump -v -r "rtmp://localhost/helo/pd"
rtmpdump -v -r "rtmp://localhost/myapp/mystream"

View file

@ -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 /mnt/home/rarutyunyan/Videos/the_changeup-solaris.giga.su.avi -an -f flv rtmp://localhost/helo
ffmpeg -loglevel verbose -re -i ~/movie.avi -f flv rtmp://localhost/myapp/mystream

View file

@ -26,7 +26,7 @@ rtmp {
publish_time_fix off;
application helo {
application myapp {
live on;
@ -34,7 +34,6 @@ rtmp {
record_path /tmp;
record_max_size 128K;
#record_max_frames 4;
record_interval 30s;
record_suffix .this.is.flv;
@ -42,13 +41,6 @@ rtmp {
on_publish http://localhost:8080/publish;
on_play http://localhost:8080/play;
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;
}
}

View file

@ -1 +1 @@
ffplay -loglevel verbose "rtmp://localhost/helo/pd"
ffplay -loglevel verbose "rtmp://localhost/myapp/mystream"

View file

@ -10,25 +10,8 @@
src: "/jwplayer/player.swf",
config: {
bufferlength: 1,
file: "webcam",
streamer: "rtmp://192.168.0.100/helo",
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",
file: "mystream",
streamer: "rtmp://localhost/myapp",
provider: "rtmp",
}
}

View file

@ -4,8 +4,8 @@
<script type="text/javascript">
var flashvars =
{
'streamer': 'rtmp://192.168.0.100/helo',
'file': 'webcam',
'streamer': 'rtmp://10.31.1.78/myapp',
'file': 'mystream',
'type': 'camera',
'controlbar': 'bottom',
'stretching': 'none',