Live video on the AT Protocol

add danmu back to router, modify docs a bit for new settings

+18 -3
+12
js/app/src/router.tsx
··· 85 useNotificationToken, 86 useUserProfile, 87 } from "store/hooks"; 88 import MobileGoLive from "./screens/mobile-go-live"; 89 import MobileStream from "./screens/mobile-stream"; 90 ··· 135 Embed: { user: string }; 136 InfoWidgetEmbed: undefined; 137 LegacyStream: { user: string }; 138 MobileGoLive: undefined; 139 }; 140 ··· 182 Embed: "embed/:user", 183 InfoWidgetEmbed: "info-widget", 184 LegacyStream: "legacy/:user", 185 MobileGoLive: "mobile-golive", 186 }, 187 }, ··· 619 <Drawer.Screen 620 name="InfoWidgetEmbed" 621 component={InfoWidgetEmbed} 622 options={{ 623 drawerLabel: () => null, 624 drawerItemStyle: { display: "none" },
··· 85 useNotificationToken, 86 useUserProfile, 87 } from "store/hooks"; 88 + import DanmuOBSScreen from "./screens/danmu-obs"; 89 import MobileGoLive from "./screens/mobile-go-live"; 90 import MobileStream from "./screens/mobile-stream"; 91 ··· 136 Embed: { user: string }; 137 InfoWidgetEmbed: undefined; 138 LegacyStream: { user: string }; 139 + DanmuOBS: { user: string }; 140 MobileGoLive: undefined; 141 }; 142 ··· 184 Embed: "embed/:user", 185 InfoWidgetEmbed: "info-widget", 186 LegacyStream: "legacy/:user", 187 + DanmuOBS: "widgets/:user/danmu", 188 MobileGoLive: "mobile-golive", 189 }, 190 }, ··· 622 <Drawer.Screen 623 name="InfoWidgetEmbed" 624 component={InfoWidgetEmbed} 625 + options={{ 626 + drawerLabel: () => null, 627 + drawerItemStyle: { display: "none" }, 628 + headerShown: false, 629 + }} 630 + /> 631 + <Drawer.Screen 632 + name="DanmuOBS" 633 + component={DanmuOBSScreen} 634 options={{ 635 drawerLabel: () => null, 636 drawerItemStyle: { display: "none" },
+6 -3
js/docs/src/content/docs/features/danmu.md
··· 3 description: Add flying bullet-style chat comments to the player, or your stream 4 --- 5 6 [Danmu (or Danmaku)](https://en.wikipedia.org/wiki/Danmaku_subtitling) (弹幕, 7 "bullet curtain") is a comment style where messages fly across the video 8 horizontally. Originating from Niconico and Bilibili, it's a fun way to display ··· 20 In-player danmu is currently an experimental feature. To unlock it: 21 22 1. Open Settings in Streamplace 23 - 2. Tap the version number 5 times 24 - 3. You'll see "You are now a developer". congrats! 25 - 4. Scroll down to see the Danmu settings 26 27 From there you can: 28
··· 3 description: Add flying bullet-style chat comments to the player, or your stream 4 --- 5 6 + :::note This feature is experimental and may change in future releases. ::: 7 + 8 [Danmu (or Danmaku)](https://en.wikipedia.org/wiki/Danmaku_subtitling) (弹幕, 9 "bullet curtain") is a comment style where messages fly across the video 10 horizontally. Originating from Niconico and Bilibili, it's a fun way to display ··· 22 In-player danmu is currently an experimental feature. To unlock it: 23 24 1. Open Settings in Streamplace 25 + 2. Enter the "About" section 26 + 3. Tap the version number 5 times 27 + 4. You'll see "You are now a developer". congrats! 28 + 5. Go back to Settings, you should now see a "Danmu" section! 29 30 From there you can: 31