'd'
This commit is contained in:
@@ -23,10 +23,14 @@
|
||||
</button>
|
||||
<button v-if="!isDir && isVideoFile(name)" class="live-button" @click="startLive">
|
||||
单次直播
|
||||
</button>
|
||||
<button v-if="!isDir && isVideoFile(name)" class="live-button" @click="obsLive">
|
||||
obs推流
|
||||
</button>
|
||||
<button v-if="!isDir && isVideoFile(name)" class="live-button" @click="stopLive">
|
||||
停止直播
|
||||
</button>
|
||||
|
||||
</p>
|
||||
|
||||
</div>
|
||||
@@ -431,6 +435,9 @@ const loopLive = async () => {
|
||||
}
|
||||
};
|
||||
|
||||
const obsLive = async () => {
|
||||
|
||||
};
|
||||
const startLive = async () => {
|
||||
try {
|
||||
// props.url 是 FileBrowser 内部路径,例如 /videos/test.mp4
|
||||
|
||||
Reference in New Issue
Block a user