RTSPtoHLS
RTSPtoHLS copied to clipboard
More stream
I'd like add more stream in the config file, but get error.
my conf:
{ "server": { "http_port": ":8083" }, "streams": { "stream1": { "url": "rtsp://stream1" } "stream2": { "url": "rtsp://stream2" } } }
Error message: invalid character '"' after object key:value pair
what's the problem with that?
Base on your code you are missing a , after the first item called stream1 { "server": { "http_port": ":8083" }, "streams": { "stream1": { "url": "rtsp://stream1" }, "stream2": { "url": "rtsp://stream2" } } }