Skip to content

Preserve YouTube stream settings#5702

Merged
michelinewu merged 7 commits intomasterfrom
mh_encoder_reset
Mar 19, 2026
Merged

Preserve YouTube stream settings#5702
michelinewu merged 7 commits intomasterfrom
mh_encoder_reset

Conversation

@mhoyer-streamlabs
Copy link
Copy Markdown
Contributor

When a user configures YouTube as a custom ingest, the stream type is rtmp_common. When the stream starts, the stream type is changed to rtmp_custom but the encoder remains as-is and works correctly. rtmp_common has specific encoders marked as available which are unavailable when using rtmp_custom. In this case, when the app restarts after streaming and the stream type has changed, the encoder is marked as invalid because it is checking rtmp_custom.

Save the original settings when the stream is started so they can be restored when the stream stops to avoid this (incorrect) error.

User-configured settings are lost when values are hardcoded, save them to restore after streaming so avoid errors on app restart
@mhoyer-streamlabs mhoyer-streamlabs changed the title Mh encoder reset Preserve YouTube stream settings Jan 7, 2026
Comment thread app/services/platforms/youtube.ts Outdated
Comment thread app/services/platforms/youtube.ts Outdated
@gettinToasty
Copy link
Copy Markdown
Contributor

looks like there's a linter failure here

@mhoyer-streamlabs
Copy link
Copy Markdown
Contributor Author

looks like there's a linter failure here

When I try to check the error it says "Build not found" and re-running the test doesn't seem to be working.

@gettinToasty
Copy link
Copy Markdown
Contributor

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@gettinToasty
Copy link
Copy Markdown
Contributor

gettinToasty commented Mar 12, 2026

looks like there's a linter failure here

When I try to check the error it says "Build not found" and re-running the test doesn't seem to be working.

sorry about that didn't realize! our builds expire after i think a week so i just manually triggered a new one with the above command, i think you can do that in the future as well if you encounter missing builds again

@mhoyer-streamlabs
Copy link
Copy Markdown
Contributor Author

looks like there's a linter failure here

When I try to check the error it says "Build not found" and re-running the test doesn't seem to be working.

sorry about that didn't realize! our builds expire after i think a week so i just manually triggered a new one with the above command, i think you can do that in the future as well if you encounter missing builds again

Thanks! The linter test is passing.

@michelinewu michelinewu merged commit 15ddcc2 into master Mar 19, 2026
8 of 12 checks passed
@michelinewu michelinewu deleted the mh_encoder_reset branch March 19, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants