tangled
alpha
login
or
join now
stream.place
/
streamplace
74
fork
atom
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
seriously fuck off
Eli Mallon
2 weeks ago
7e89f2fb
3609b338
+1
-2
1 changed file
expand all
collapse all
unified
split
js
components
src
components
mobile-player
use-webrtc.tsx
+1
-2
js/components/src/components/mobile-player/use-webrtc.tsx
···
1
import { useEffect, useRef, useState } from "react";
2
import * as sdpTransform from "sdp-transform";
3
-
import { text } from "stream/consumers";
4
import { StreamplaceAgent } from "streamplace";
5
import {
6
PlayerStatus,
···
223
);
224
return "https://stream.place/example";
225
} else {
226
-
console.error(text);
227
}
228
} catch (e) {
229
console.error(`posting sdp offer failed: ${e}`);
···
1
import { useEffect, useRef, useState } from "react";
2
import * as sdpTransform from "sdp-transform";
0
3
import { StreamplaceAgent } from "streamplace";
4
import {
5
PlayerStatus,
···
222
);
223
return "https://stream.place/example";
224
} else {
225
+
console.error(await response.text());
226
}
227
} catch (e) {
228
console.error(`posting sdp offer failed: ${e}`);