zlm get vhost,app,streamid and push or play by streamid of srt like this
#!::key1=value1,key2=value2,key3=value4......
h and r is special key,to get vhost app streamid, if h not exist ,vhost is default value
m is special key, to judge is push or pull, if vaule is publish the mode is push,otherwise is play, if m not exist, mode is play
other key and m ,can use by webhook to auth for play or push
like: #!::h=zlmediakit.com,r=live/test,m=publish
vhost = zlmediakit.com
app = live
streamid = test
mode is push
OBS push stream url
srt://192.168.1.105:9000?streamid=#!::r=live/test,m=publish
ffmpeg push
ffmpeg -re -stream_loop -1 -i test.ts -c:v copy -c:a copy -f mpegts srt://192.168.1.105:9000?streamid=#!::r=live/test,m=publish
ffplay pull
ffplay -i srt://192.168.1.105:9000?streamid=#!::r=live/test
vlc not support ,because can't set stream id reference
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。