turning into redoing all of the webrtc reading and publishing client side lol

This commit is contained in:
legop3
2026-10-09 14:19:06 -04:00
parent 28d0b1437d
commit 1284125fff
10 changed files with 92 additions and 188 deletions
@@ -10,14 +10,3 @@ export function bytesToBase64(bytes) {
}
return btoa(binary);
}
function encodeBase64(value) {
if (typeof btoa === 'function') return btoa(value);
return '';
}
export function buildAuthHeader(token) {
if (!token) return {};
const encoded = encodeBase64(`${token}:${token}`);
return encoded ? { Authorization: `Basic ${encoded}` } : {};
}