Jelajahi Sumber

feat: add sample video streams for testing in video-demo component

- Introduce new live stream source from Cloudflare Stream for demonstration purposes
- Include existing public test video sources for enhanced testing capabilities
yb 3 minggu lalu
induk
melakukan
42642769f6
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      src/views/demo/video-demo.vue

+ 6 - 0
src/views/demo/video-demo.vue

@@ -214,6 +214,12 @@ const useIframe = ref(false)
 
 // 测试视频列表
 const sampleVideos = [
+  // === 我的直播流 (Cloudflare Stream) ===
+  {
+    name: '我的摄像头直播',
+    url: 'https://customer-pj89kn2ke2tcuh19.cloudflarestream.com/3c1ae1949e76f200feef94b8f7d093ca/manifest/video.m3u8'
+  },
+  // === 公共测试源 ===
   { name: 'Big Buck Bunny (HLS)', url: 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8' },
   { name: 'Sintel (HLS)', url: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8' },
   {