stream/types: set headers for both inputs in streamLiveRender (#470)

This commit is contained in:
jj 2024-04-29 16:29:37 +02:00 committed by GitHub
parent 5fbf35a8d3
commit 8f27c86a43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,6 +103,7 @@ export function streamLiveRender(streamInfo, res) {
'-loglevel', '-8', '-loglevel', '-8',
'-headers', rawHeaders, '-headers', rawHeaders,
'-i', streamInfo.urls[0], '-i', streamInfo.urls[0],
'-headers', rawHeaders,
'-i', streamInfo.urls[1], '-i', streamInfo.urls[1],
'-map', '0:v', '-map', '0:v',
'-map', '1:a', '-map', '1:a',