api/stream: rename bridge mode to proxy

This commit is contained in:
wukko
2024-08-15 19:58:40 +06:00
parent 9d577f23b1
commit c1813aa33f
5 changed files with 10 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import { closeResponse } from "./shared.js";
export default async function(res, streamInfo) {
try {
if (streamInfo.isAudioOnly && streamInfo.type !== "bridge") {
if (streamInfo.isAudioOnly && streamInfo.type !== "proxy") {
streamAudioOnly(streamInfo, res);
return;
}