joycewang
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2016
03:00 AM
Scene Graph XML: failed to create media player
Hi,
I'm sometimes having this problem when using video roSGNode to play streams: failed to create media player.
So I use a single video tag in the entire app, and just change the content data when play another song. The UI pages are switched inside another roSGNode, here are the children defined in my app scene:
Sometimes even when I get this error, the playback can still working. Not sure if this is a memory problem, as when I quit app by "home" button, there are many orphaned objects. Reboot the device can solve the problem. Anyone knows the reason or solutions?
Many thanks.
I'm sometimes having this problem when using video roSGNode to play streams: failed to create media player.
So I use a single video tag in the entire app, and just change the content data when play another song. The UI pages are switched inside another roSGNode, here are the children defined in my app scene:
<children>
<Video id="player" visible="false"/>
<Group id="pageNode"></Group>
</children>
Sometimes even when I get this error, the playback can still working. Not sure if this is a memory problem, as when I quit app by "home" button, there are many orphaned objects. Reboot the device can solve the problem. Anyone knows the reason or solutions?
Many thanks.
1 REPLY 1
RowanG1Bilue
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2022
06:05 PM
Re: Scene Graph XML: failed to create media player
What resolved it for me was to introduce a slight delay before press play. Used a Timer object.