majestic icon indicating copy to clipboard operation
majestic copied to clipboard

Multiple outgoing RTMP connections: 1) How to define? 2) Invalid YAML in documentation example, but accepted by Majestic.

Open iGraveD opened this issue 1 year ago • 0 comments

How to define multiple outgoing RTMP connections? E. g.

outgoing:
  enabled: true
  naluSize: 1200
  server:
    - rtmp://a.rtmp.youtube.com/live2/key1
    - rtmp://a.rtmp.youtube.com/live2/key2

or, even better:

outgoing:
  - enabled: true
    naluSize: 1200
    server: rtmp://a.rtmp.youtube.com/live2/key1
  - enabled: true
    naluSize: 1200
    server: rtmp://a.rtmp.youtube.com/live2/key2

These theoretical examples do not work, video is being sent to the 1st server only.

Documentation contains INVALID YAML in the corresponding section:

outgoing:
  enabled: true
  server: udp://192.168.1.10:5600
  naluSize: 1200
  - udp://IP-1:port
  - udp://IP-2:port
  - unix:/tmp/rtpstream.sock
  - rtmps://dc4-1.rtmp.t.me/s/mykey

You can check it with any YAML validator.

But Majestic successfully parses it. However, video is only sent to the 1st RTMP server, again.

iGraveD avatar Sep 08 '24 17:09 iGraveD