25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 달 전
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ## feature
  2. - NACK support
  3. - listener support
  4. - push stream payload must ts
  5. - pull stream payload is ts
  6. - protocol impliment [reference](https://haivision.github.io/srt-rfc/draft-sharabayko-srt.html)
  7. - version support (>=1.3.0)
  8. - fec and encriyped not support
  9. ## usage
  10. zlm get vhost,app,streamid and push or play by streamid of srt like this
  11. `#!::key1=value1,key2=value2,key3=value4......`
  12. h and r is special key,to get vhost app streamid, if h not exist ,vhost is default value
  13. 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
  14. other key and m ,can use by webhook to auth for play or push
  15. like:
  16. #!::h=zlmediakit.com,r=live/test,m=publish
  17. vhost = zlmediakit.com
  18. app = live
  19. streamid = test
  20. mode is push
  21. - OBS push stream url
  22. `srt://192.168.1.105:9000?streamid=#!::r=live/test,m=publish`
  23. - ffmpeg push
  24. `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`
  25. - ffplay pull
  26. `ffplay -i srt://192.168.1.105:9000?streamid=#!::r=live/test`
  27. - vlc not support ,because can't set stream id [reference](https://github.com/Haivision/srt/issues/1015)