Live video on the AT Protocol

seriously fuck off

+1 -2
+1 -2
js/components/src/components/mobile-player/use-webrtc.tsx
··· 1 1 import { useEffect, useRef, useState } from "react"; 2 2 import * as sdpTransform from "sdp-transform"; 3 - import { text } from "stream/consumers"; 4 3 import { StreamplaceAgent } from "streamplace"; 5 4 import { 6 5 PlayerStatus, ··· 223 222 ); 224 223 return "https://stream.place/example"; 225 224 } else { 226 - console.error(text); 225 + console.error(await response.text()); 227 226 } 228 227 } catch (e) { 229 228 console.error(`posting sdp offer failed: ${e}`);