Skip to content

Commit eee160c

Browse files
committed
Fix stream formatting
1 parent 54f7ee9 commit eee160c

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

client/src/features/stream/streamWorkerClient.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ const WEBRTC_CONTROL_CHANNEL_LABEL = "simdeck-control";
1212
let activeWebRtcControlChannel: RTCDataChannel | null = null;
1313

1414
export function isWebRtcStreamMode(): boolean {
15-
return streamTransportMode() === "webrtc" && Boolean(accessTokenFromLocation());
15+
return (
16+
streamTransportMode() === "webrtc" && Boolean(accessTokenFromLocation())
17+
);
1618
}
1719

1820
export function sendWebRtcControlMessage(encoded: string): boolean {

client/src/features/stream/useLiveStream.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ function createDefaultRuntimeInfo(): StreamRuntimeInfo {
3737
gpuRenderer: "",
3838
gpuVendor: "",
3939
renderBackend: "Unavailable",
40-
streamBackend: streamTransportMode() === "webrtc"
41-
? "Browser WebRTC"
42-
: "Worker / WebTransport",
40+
streamBackend:
41+
streamTransportMode() === "webrtc"
42+
? "Browser WebRTC"
43+
: "Worker / WebTransport",
4344
webCodecs: false,
4445
webGL2: false,
4546
webTransport: false,

0 commit comments

Comments
 (0)