fix(examples): streaming file path

This commit is contained in:
Lucas Nogueira 2024-08-26 21:48:48 -03:00
parent 70306dc79b
commit dc0612b156
No known key found for this signature in database
GPG Key ID: 7C32FCA95C8C95D7
2 changed files with 2 additions and 2 deletions

View File

@ -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()
</script>

View File

@ -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"]
}
}
},