mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-10-05 05:26:52 +08:00
Add rotation metadata if initially in portrait mode
YouTube ignores it though - only supports landscape
This commit is contained in:
@@ -180,7 +180,7 @@ async function start() {
|
||||
}
|
||||
|
||||
// start HLS from the canvas stream to the ingestion URL
|
||||
hls = new HLS(canvas_stream, ingestion_url, ffmpeg_lib_url, frame_rate);
|
||||
hls = new HLS(canvas_stream, ingestion_url, ffmpeg_lib_url, frame_rate, portrait);
|
||||
hls.addEventListener('run', () => console.log('HLS running'));
|
||||
hls.addEventListener('exit', ev => {
|
||||
const msg = `HLS exited with status ${ev.detail.code}`;
|
||||
|
Reference in New Issue
Block a user