mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
refactor(electron): use mp4 container instead of webm for encoded audio (#12247)
fix AF-2609 webm container with opus has limited support on Safari. Change to mp4 instead. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Audio recordings are now saved in MP4 format instead of WebM, improving compatibility with a wider range of devices and applications. - **Chores** - Updated dependencies to use MP4 muxing tools in place of WebM. - Internal audio encoding utilities and references updated to support MP4 container format. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -459,6 +459,7 @@ __metadata:
|
||||
lit: "npm:^3.2.1"
|
||||
lodash-es: "npm:^4.17.21"
|
||||
lottie-react: "npm:^2.4.0"
|
||||
mp4-muxer: "npm:^5.2.1"
|
||||
nanoid: "npm:^5.0.9"
|
||||
next-themes: "npm:^0.4.4"
|
||||
query-string: "npm:^9.1.1"
|
||||
@@ -474,7 +475,6 @@ __metadata:
|
||||
swr: "npm:2.3.3"
|
||||
tinykeys: "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch"
|
||||
vitest: "npm:3.1.3"
|
||||
webm-muxer: "npm:^5.1.0"
|
||||
y-protocols: "npm:^1.0.6"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.24.1"
|
||||
@@ -14916,7 +14916,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/dom-webcodecs@npm:^0.1.4":
|
||||
"@types/dom-webcodecs@npm:^0.1.4, @types/dom-webcodecs@npm:^0.1.6":
|
||||
version: 0.1.15
|
||||
resolution: "@types/dom-webcodecs@npm:0.1.15"
|
||||
checksum: 10/0d1ce12007803b92594968c657e3bcdb24c5f4b7b89a3b094670bcc39f5c3b395adba1ab64a930007bd947ae6be1689ddd64ccc48127d1acf3ef7be63f3cdc98
|
||||
@@ -26932,6 +26932,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mp4-muxer@npm:^5.2.1":
|
||||
version: 5.2.1
|
||||
resolution: "mp4-muxer@npm:5.2.1"
|
||||
dependencies:
|
||||
"@types/dom-webcodecs": "npm:^0.1.6"
|
||||
"@types/wicg-file-system-access": "npm:^2020.9.5"
|
||||
checksum: 10/7169fd43e4a3a604c4590970276ff58bee479444530af8455ba66b70207e3317e74ae662b488df58f4619dd29973950228347585ec579539aa4356ead9d203be
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mri@npm:^1.2.0":
|
||||
version: 1.2.0
|
||||
resolution: "mri@npm:1.2.0"
|
||||
@@ -34136,7 +34146,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"webm-muxer@npm:^5.0.3, webm-muxer@npm:^5.1.0":
|
||||
"webm-muxer@npm:^5.0.3":
|
||||
version: 5.1.2
|
||||
resolution: "webm-muxer@npm:5.1.2"
|
||||
dependencies:
|
||||
|
||||
Reference in New Issue
Block a user