/configure --prefix=/Users/Shared/nginx \
--add-module=../nginx-party-module/nginx-rtmp-module \
--with-http_ssl_module \
--with-openssl=/opt/homebrew/Cellar/openssl@1.1/1.1.1m\
--with-debug
make
make install
rtmp {
server {
listen 1935;
application vod {
play /Users/xxx/iCloud-archive/video;
}
}
}
#vlc打开串流地址
rtmp://host/vod/xxx.mp4
RTMP、RTSP、HTTP协议理论上都可以用来做视频直播或点播,直播一般用RTMP,RTSP,点播用 HTTP
RTMP协议
RTSP协议
HTTP协议