Skip to content

using dash player with stream causes error messages #25

@gschian0

Description

@gschian0

I've wired the dash MediaPlayer into a 3d sketch playing back on a plane... when I use the demo link and this code... I am able to see the playback on the plane...

`import { MediaPlayer } from 'dashjs';

const url = "https://dash.akamaized.net/envivio/Envivio-dash2/manifest.mpd";
const player = MediaPlayer().create();
player.initialize(document.getElementById("video"), url, true);`

when I use the current steam manifest ...
"http://localhost/dash/stream1.mpd"

i get this error...
Debug.js:55 [835][StreamController] Video Element Error: MEDIA_ERR_SRC_NOT_SUPPORTED (PIPELINE_ERROR_INITIALIZATION_FAILED) doLog @ Debug.js:55 fatal @ Debug.js:54 onPlaybackError @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onPlaybackError @ PlaybackController.js:71 error (async) addEventListener @ VideoModel.js:46 addAllListeners @ PlaybackController.js:146 initialize @ PlaybackController.js:30 switchStream @ StreamController.js:54 composeStreams @ StreamController.js:63 onTimeSyncCompleted @ StreamController.js:66 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 _completeTimeSyncSequence @ TimeSyncController.js:151 _onComplete @ TimeSyncController.js:84 (anonymous) @ TimeSyncController.js:62 onload @ TimeSyncController.js:132 load (async) _httpHandler @ TimeSyncController.js:133 _attemptRecursiveSync @ TimeSyncController.js:61 attemptSync @ TimeSyncController.js:45 onManifestUpdated @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 update @ ManifestUpdater.js:18 onManifestLoaded @ ManifestUpdater.js:18 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkReady @ ManifestLoader.js:1 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkAllElementsLoaded @ XlinkController.js:41 resolve @ XlinkController.js:35 onXlinkAllElementsLoaded @ XlinkController.js:40 resolve @ XlinkController.js:35 resolveManifestOnLoad @ XlinkController.js:34 success @ ManifestLoader.js:15 onload @ HTTPLoader.js:37 load (async) load @ XHRLoader.js:7 internalLoad @ HTTPLoader.js:39 load @ HTTPLoader.js:45 load @ URLLoader.js:35 load @ ManifestLoader.js:3 load @ StreamController.js:69 initializePlayback @ MediaPlayer.js:911 attachSource @ MediaPlayer.js:822 initialize @ MediaPlayer.js:85 (anonymous) @ script.js:102 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93756 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93943 Debug.js:55 [835][StreamController] [object MediaError] doLog @ Debug.js:55 fatal @ Debug.js:54 onPlaybackError @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onPlaybackError @ PlaybackController.js:71 error (async) addEventListener @ VideoModel.js:46 addAllListeners @ PlaybackController.js:146 initialize @ PlaybackController.js:30 switchStream @ StreamController.js:54 composeStreams @ StreamController.js:63 onTimeSyncCompleted @ StreamController.js:66 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 _completeTimeSyncSequence @ TimeSyncController.js:151 _onComplete @ TimeSyncController.js:84 (anonymous) @ TimeSyncController.js:62 onload @ TimeSyncController.js:132 load (async) _httpHandler @ TimeSyncController.js:133 _attemptRecursiveSync @ TimeSyncController.js:61 attemptSync @ TimeSyncController.js:45 onManifestUpdated @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 update @ ManifestUpdater.js:18 onManifestLoaded @ ManifestUpdater.js:18 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkReady @ ManifestLoader.js:1 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkAllElementsLoaded @ XlinkController.js:41 resolve @ XlinkController.js:35 onXlinkAllElementsLoaded @ XlinkController.js:40 resolve @ XlinkController.js:35 resolveManifestOnLoad @ XlinkController.js:34 success @ ManifestLoader.js:15 onload @ HTTPLoader.js:37 load (async) load @ XHRLoader.js:7 internalLoad @ HTTPLoader.js:39 load @ HTTPLoader.js:45 load @ URLLoader.js:35 load @ ManifestLoader.js:3 load @ StreamController.js:69 initializePlayback @ MediaPlayer.js:911 attachSource @ MediaPlayer.js:822 initialize @ MediaPlayer.js:85 (anonymous) @ script.js:102 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93756 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93943 Debug.js:55 [836][SourceBufferSink][video] Failed to remove source buffer from media source. doLog @ Debug.js:55 error @ Debug.js:54 reset @ SourceBufferSink.js:43 resetInitialSettings @ BufferController.js:77 reset @ BufferController.js:77 reset @ StreamProcessor.js:33 deactivate @ Stream.js:10 resetInitialSettings @ Stream.js:12 reset @ Stream.js:12 reset @ StreamController.js:69 onPlaybackError @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onPlaybackError @ PlaybackController.js:71 error (async) addEventListener @ VideoModel.js:46 addAllListeners @ PlaybackController.js:146 initialize @ PlaybackController.js:30 switchStream @ StreamController.js:54 composeStreams @ StreamController.js:63 onTimeSyncCompleted @ StreamController.js:66 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 _completeTimeSyncSequence @ TimeSyncController.js:151 _onComplete @ TimeSyncController.js:84 (anonymous) @ TimeSyncController.js:62 onload @ TimeSyncController.js:132 load (async) _httpHandler @ TimeSyncController.js:133 _attemptRecursiveSync @ TimeSyncController.js:61 attemptSync @ TimeSyncController.js:45 onManifestUpdated @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 update @ ManifestUpdater.js:18 onManifestLoaded @ ManifestUpdater.js:18 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkReady @ ManifestLoader.js:1 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkAllElementsLoaded @ XlinkController.js:41 resolve @ XlinkController.js:35 onXlinkAllElementsLoaded @ XlinkController.js:40 resolve @ XlinkController.js:35 resolveManifestOnLoad @ XlinkController.js:34 success @ ManifestLoader.js:15 onload @ HTTPLoader.js:37 load (async) load @ XHRLoader.js:7 internalLoad @ HTTPLoader.js:39 load @ HTTPLoader.js:45 load @ URLLoader.js:35 load @ ManifestLoader.js:3 load @ StreamController.js:69 initializePlayback @ MediaPlayer.js:911 attachSource @ MediaPlayer.js:822 initialize @ MediaPlayer.js:85 (anonymous) @ script.js:102 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93756 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93943 Debug.js:55 [837][SourceBufferSink][audio] Failed to remove source buffer from media source. doLog @ Debug.js:55 error @ Debug.js:54 reset @ SourceBufferSink.js:43 resetInitialSettings @ BufferController.js:77 reset @ BufferController.js:77 reset @ StreamProcessor.js:33 deactivate @ Stream.js:10 resetInitialSettings @ Stream.js:12 reset @ Stream.js:12 reset @ StreamController.js:69 onPlaybackError @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onPlaybackError @ PlaybackController.js:71 error (async) addEventListener @ VideoModel.js:46 addAllListeners @ PlaybackController.js:146 initialize @ PlaybackController.js:30 switchStream @ StreamController.js:54 composeStreams @ StreamController.js:63 onTimeSyncCompleted @ StreamController.js:66 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 _completeTimeSyncSequence @ TimeSyncController.js:151 _onComplete @ TimeSyncController.js:84 (anonymous) @ TimeSyncController.js:62 onload @ TimeSyncController.js:132 load (async) _httpHandler @ TimeSyncController.js:133 _attemptRecursiveSync @ TimeSyncController.js:61 attemptSync @ TimeSyncController.js:45 onManifestUpdated @ StreamController.js:69 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 update @ ManifestUpdater.js:18 onManifestLoaded @ ManifestUpdater.js:18 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkReady @ ManifestLoader.js:1 (anonymous) @ EventBus.js:31 trigger @ EventBus.js:31 onXlinkAllElementsLoaded @ XlinkController.js:41 resolve @ XlinkController.js:35 onXlinkAllElementsLoaded @ XlinkController.js:40 resolve @ XlinkController.js:35 resolveManifestOnLoad @ XlinkController.js:34 success @ ManifestLoader.js:15 onload @ HTTPLoader.js:37 load (async) load @ XHRLoader.js:7 internalLoad @ HTTPLoader.js:39 load @ HTTPLoader.js:45 load @ URLLoader.js:35 load @ ManifestLoader.js:3 load @ StreamController.js:69 initializePlayback @ MediaPlayer.js:911 attachSource @ MediaPlayer.js:822 initialize @ MediaPlayer.js:85 (anonymous) @ script.js:102 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93756 (anonymous) @ bundle.2e6779f5a5db395a13f7.js:93943 Debug.js:55 [839][VideoModel] Caught pending play exception - continuing (NotSupportedError: Failed to load because no supported source was found.)

are there specific settings I need to enable to handle this feed? To be thourough ... here is the html as well for the video tag...
<video id="video" style="display: none" autoplay playsinline controls ></video>

feel like I'm getting pretty close to at least getting the steam into three.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions