Skip to content

把rtmp流简单的转换成httpflv格式的直播流,可以使用flv.js播放

Notifications You must be signed in to change notification settings

swinsey/ngx_rtmp_http_flv_module

Repository files navigation

ngx_rtmp_http_flv_module

把rtmp流简单的转换成httpflv格式的直播流,可以使用flv.js播放

基于nginx-1.9.3 rtmp-module

使用

配置

  • nginx

      server{ 
      ...		
      location /live{		
          	    http_flv on; #live 请求httpflv流 		    
     		 } 		 
      } 
    
  • http url

      rtmp 推流:rtmp://xxxx:1935/live/vae		
      `app` :rtmp application 
      `stream` :rtmp stream name 
      
      请求的http参数:http://xxxx:8080/live?app=live&stream=vae 
    

About

把rtmp流简单的转换成httpflv格式的直播流,可以使用flv.js播放

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published