Repository navigation
feat(MediaMtx): restructure options and remove WebRTC YAML dependency - #1402
Merged
Merged
Conversation
|
Sorry @ArgoZhang, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 23 hours and 25 minutes by commenting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link issues
fixes #1401
Summary By Copilot
WebRtcConfigPathYAML fragment with strongly typedWebRtc:Iceoptions (Address,Port,IpsFromInterfaces,AdditionalHosts) and validate the ICE address, port and hosts in code before starting the managed gateway.MediaMtxOptionsintoGateway(Port,Password,UseExternalGateway,ExternalUserName,ExternalPassword,MediaMtxPath) andWebRtc(Port,PublicUrl,Ice) sections; update gateway startup, process reuse locking, port pre-checks and player URL generation to use the new layout.bb-mediamtxskill with the new option keys, public WebRTC deployment guidance and troubleshooting notes; bump the package version to11.0.4.Regression?
Since
11.0.4, the configuration keys changed:ApiPort,ApiPassword,WebRtcPort,WebRtcIcePort,WebRtcPublicUrl,MediaMtxPath,UseExternalGateway,ExternalApiUserNameandExternalApiPasswordmove underGateway/WebRtc, andWebRtcConfigPathis removed. Existing deployments must migrate their configuration; hosts sharing a running gateway must migrate together because reuse is keyed byGateway:Portand the generated configuration.Risk
The change renames public configuration keys and removes the YAML fragment input, which affects managed gateway startup and shared process configuration. Validation now fails fast on invalid ICE settings, while the generated MediaMTX configuration behavior is otherwise preserved.
Verification
Manual (required)
Automated
git status --porcelain— clean working tree.git ls-remote origin refs/heads/feat-mediamtx— remoteHEADmatches localHEAD(f1cb3014a).git log/git diff --stat origin/master...HEAD— branch contains the latestorigin/masterand only the MediaMtx package, service, README and skill changes.gh pr list --head feat-mediamtx --state open— no existing open PR.No build, test or manual runtime verification was run by this Issue/PR workflow.
Packaging changes reviewed?
Reviewed the package version bump to
11.0.4, the options API metadata, README and bundledbb-mediamtxskill updates.☑️ Self Check before Merge
The package README and bundled skill are updated. No demo change is needed for this service/configuration change, and the branch includes the latest
origin/master.