Repository navigation
minimax-video 1.0.4: declare the microphone so voiceover recording works on MiniMax Code 3.1.5+ - #83
Merged
Conversation
…rks on MiniMax Code 3.1.5+
The timeline's voiceover button records with getUserMedia({ audio: true }). From MiniMax Code
3.1.5 the Host denies microphone requests a Mini App does not declare, so recording failed with
"麦克风权限被拒绝" on current clients. miniapp.json now declares deviceAccess ["microphone"].
Declaring deviceAccess raises the minimum client to 3.1.5: earlier clients reject the field. Both
READMEs state the new minimum and describe the microphone use under data access. The runtime
buildId stays unchanged because no runtime file changed, so existing caches remain valid.
Assisted-by: Claude Opus 5.5 (OpenCode)
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.
Summary
MiniMax Video's timeline voiceover button records with
getUserMedia({ audio: true })(miniapp/client/assets/Editor-BGcBor23.js, from upstream OpenChatCut). Starting with MiniMax Code 3.1.5, the Host denies microphone requests a Mini App does not declare, so voiceover recording now fails on current clients with “麦克风权限被拒绝”. This was theACCESS_UNDECLAREDwarning introduced in #81.miniapp/miniapp.json: add"deviceAccess": ["microphone"]. The call is audio-only and comes from the page's main frame (the page has no iframe), which is exactly what the Host grants.plugin.json: version 1.0.3 → 1.0.4.README.md/README.zh-CN.md:miniapp/node/upstream.jsonbuildIdis unchanged on purpose. It names the runtime cache directory, and no runtime file changed, so existing caches stay valid.Trade-off
Clients before 3.1.5 do not know
deviceAccessand reject the whole package. So 1.0.4 cannot be installed on 3.1.2–3.1.4, while 1.0.3 still can. 3.1.5 and 3.1.6 are released.Verification
npm run check: 87 tests pass, 0 errors. For this package, theACCESS_UNDECLAREDand README minimum-version warnings are gone. The 5ENTRY_STDOUTwarnings inremotion-bundle/were already there before this PR.旁白.webm/.oggfile, and the editor's shared media-import path brings it into the project at the playhead on A1.Not verified
Need help on this PR? Tag
@codesmith-botwith what you need.