On MacOS, when creating two MediaPlayer instances with one containing H.264 media, the media player state is messed up. E.g.:
- The state (playing, paused, stopped) is incorrect
- The playing time events are not sent correctly
It does not matter whether the two media are from different URLs, from the same URL or even the same Media object.
A reproducer is attached (based on the MediaPlayer sample available from Oracle). It shows the problem with two stages having a MediaPlayer and a MediaView each in the following scenarios:
- a flash media and a H.264 media
- two H.264 media from different URLs
- two H.264 media from the same URL
This does not happen when there are two flash videos being used or when only a single MediaPlayer is created.
Running the reproducer on Windows XP with DivX codecs installed does not show this behavior.
- The state (playing, paused, stopped) is incorrect
- The playing time events are not sent correctly
It does not matter whether the two media are from different URLs, from the same URL or even the same Media object.
A reproducer is attached (based on the MediaPlayer sample available from Oracle). It shows the problem with two stages having a MediaPlayer and a MediaView each in the following scenarios:
- a flash media and a H.264 media
- two H.264 media from different URLs
- two H.264 media from the same URL
This does not happen when there are two flash videos being used or when only a single MediaPlayer is created.
Running the reproducer on Windows XP with DivX codecs installed does not show this behavior.
- relates to
-
JDK-8120029 Issue with paused video starts playing on the call of setRate() of MediaPlayer
-
- Resolved
-