From dc0612b156c0a9c92775bbe9d377e24147c8c6c3 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 26 Aug 2024 21:48:48 -0300 Subject: [PATCH] fix(examples): streaming file path --- examples/streaming/index.html | 2 +- examples/streaming/tauri.conf.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/streaming/index.html b/examples/streaming/index.html index 657e8a0cbea0..22bc76d07c7d 100644 --- a/examples/streaming/index.html +++ b/examples/streaming/index.html @@ -25,7 +25,7 @@ const video = document.getElementById('video_source') const source = document.createElement('source') source.type = 'video/mp4' - source.src = convertFileSrc('test_video.mp4', 'stream') + source.src = convertFileSrc('streaming_example_test_video.mp4', 'stream') video.appendChild(source) video.load() diff --git a/examples/streaming/tauri.conf.json b/examples/streaming/tauri.conf.json index 5a1593cae59a..120485616690 100644 --- a/examples/streaming/tauri.conf.json +++ b/examples/streaming/tauri.conf.json @@ -18,7 +18,7 @@ "security": { "csp": "default-src 'self'; connect-src ipc: http://ipc.localhost; media-src stream: http://stream.localhost", "assetProtocol": { - "scope": ["**/test_video.mp4"] + "scope": ["**/streaming_example_test_video.mp4"] } } },