2019独角兽企业重金招聘Python工程师标准>>>
使用方案nginx-rtmp-module,直播流使用video.js,点播使用flv.js
nginx http location 需配置允许跨域访问
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept";
add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";