добавил кодек
All checks were successful
Deploy / deploy (push) Successful in 34s

This commit is contained in:
2026-05-09 03:49:48 +06:00
parent 0b75148a3f
commit 8cc60e1849
2 changed files with 11 additions and 0 deletions

View File

@@ -33,6 +33,15 @@ export const autoConfig: mediasoup.types.RouterOptions = {
'x-google-start-bitrate': 1000, 'x-google-start-bitrate': 1000,
}, },
}, },
{
kind: 'video',
mimeType: 'video/VP9',
clockRate: 90000,
parameters: {
'profile-id': 0,
'x-google-start-bitrate': 12000,
},
},
{ {
kind: 'video', kind: 'video',
mimeType: 'video/VP9', mimeType: 'video/VP9',

View File

@@ -112,6 +112,8 @@ export default async function (io: SocketServer, router: types.Router) {
}, },
}, },
], ],
initialAvailableOutgoingBitrate: 8_000_000,
maxSctpMessageSize: 262144,
enableUdp: true, enableUdp: true,
preferUdp: true, preferUdp: true,
appData: { appData: {