- Rtmp server linux transcoding how to#
- Rtmp server linux transcoding verification#
- Rtmp server linux transcoding code#
Now I will teach you how to generate a certificate.
Rtmp server linux transcoding verification#
You know that a certificate requires money, and most of the testing and verification process is without a certificate. If you have a formal certificate, you can ignore section 4.1. In this way, there will be no problem when you open the audio and video equipment through the web page. Therefore, we need to make a certificate to access the internal http server of smart_rtmpd via https.
Why do I need to make a certificate? Generally, the browser opens the audio and video equipment, and the https link is required to have the authority to execute it.
Rtmp server linux transcoding code#
Web browser nodejs server ( source code ) smart_rtmpd
for more safe auth verify : smart_rtmpd - http -> proxy - https -> auth server , you can use sample proxy module first process auth request, and then forward request to your auth http server. ( protocol ) http url param role : publisher (push stream) or player ( pull stream ) if you have below http play request : ( http-flv ) ( http-m3u8 ) ( http-mpd ) smart_rtmpd will send http url auth to auto server : verify success return HTTP 200 OK, other be failed. if you set 192.168.1.32:8181,smart_rtmpd will send http get request http url param type : rtmp, http, rtsp, etc. See this link : you can modify config.xml file 192.168.1.32:8181 192.168.1.32:8181 is your auth http server url, if you want push a stream rtmp://192.168.1.1/live/stream?user=admin&token=xqtv312, smart_rtmpd will send http get request to your auth http server. ffmpeg -re -i my265.mkv -vcodec libx265 -acodec aac -f flv rtmp://192.168.1.105:9554/live/stream2 ffmpeg push rtsp stream 1.