Browse Source

rtsp流媒体直播

李富豪 1 year ago
parent
commit
03ad42bed6

+ 1 - 0
Web/index.html

@@ -6,6 +6,7 @@
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <link rel="icon" href="/src/assets/public/favicon.ico" />
   <title>上云无人机管理平台</title>
+  <script type="text/javascript" src="/src/components/easyPlayer/depend/EasyPlayer-element.min.js"></script>
 </head>
 
 <body>

File diff suppressed because it is too large
+ 508 - 0
Web/src/components/easyPlayer/depend/EasyPlayer-element.min.js


BIN
Web/src/components/easyPlayer/depend/EasyPlayer.wasm


+ 28 - 0
Web/src/components/easyPlayer/index.vue

@@ -0,0 +1,28 @@
+<template>
+    <easy-player :video-url="'1'" />
+</template>
+
+<script lang="ts" setup>
+interface Props {
+    record: any,
+    fieldName: string,
+};
+
+const props = withDefaults(defineProps<Props>(), {
+
+});
+</script>
+
+<style lang="scss" scoped>
+.customCell {
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+
+    &-item {
+        height: 40px;
+        display: flex;
+        align-items: center;
+    }
+}
+</style>

+ 0 - 1
Web/src/pages/page-pilot/pilot-liveshare.vue

@@ -13,7 +13,6 @@
         </a-select-option>
       </a-select>
     </div>
-
     <div class="ml10 mr10" style="width: 96%; margin-top: -10px;">
       <a-divider />
     </div>

Some files were not shown because too many files changed in this diff