Skip to content

Commit dc0612b

Browse files
committed
fix(examples): streaming file path
1 parent 70306dc commit dc0612b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/streaming/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
const video = document.getElementById('video_source')
2626
const source = document.createElement('source')
2727
source.type = 'video/mp4'
28-
source.src = convertFileSrc('test_video.mp4', 'stream')
28+
source.src = convertFileSrc('streaming_example_test_video.mp4', 'stream')
2929
video.appendChild(source)
3030
video.load()
3131
</script>

examples/streaming/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"security": {
1919
"csp": "default-src 'self'; connect-src ipc: http://ipc.localhost; media-src stream: http://stream.localhost",
2020
"assetProtocol": {
21-
"scope": ["**/test_video.mp4"]
21+
"scope": ["**/streaming_example_test_video.mp4"]
2222
}
2323
}
2424
},

0 commit comments

Comments
 (0)