Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

show basic debug stats when requested

+21
+21
js/app/components/mobile/desktop-ui.tsx
··· 196 196 const setMuteWasForced = usePlayerStore((state) => state.setMuteWasForced); 197 197 const setMuted = usePlayerStore((state) => state.setMuted); 198 198 const offline = usePlayerStore((state) => state.offline); 199 + const showMetrics = usePlayerStore((state) => state.showDebugInfo); 199 200 200 201 const segment = useSegment(); 201 202 ··· 524 525 </View> 525 526 )} 526 527 </View> 528 + {showMetrics && ( 529 + <View 530 + style={[ 531 + layout.position.absolute, 532 + position.top[20], 533 + position.left[4], 534 + px[4], 535 + py[2], 536 + { 537 + backgroundColor: "rgba(0, 0, 0, 0.7)", 538 + borderRadius: 8, 539 + borderWidth: 1, 540 + borderColor: colors.gray[700], 541 + }, 542 + ]} 543 + > 544 + <Text>Segment Timing</Text> 545 + <PlayerUI.MetricsPanel showMetrics={showMetrics} /> 546 + </View> 547 + )} 527 548 </> 528 549 </GestureDetector> 529 550 );