-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows][macOS] StageVideo doesn't call onPlayStatus on playback complete #1943
Comments
I've just changed:
to
but I still don't get the |
@ajwfrost macOS: So seems with different platforms it has different behavior. |
Thanks .. so from what I can see, we should be both dispatching the
thanks |
@ajwfrost |
Problem Description
StageVideo
doesn't callonPlayStatus
on playback complete with Windows/macOS devices.So you cannot handle
onPlayStatus
to play video in a loop or detect video playback end.Tested with multiple AIR versions, even with latest AIR 33.1.1.856 with multiple different Windows/macOS devices with different OS versions with different MP4 H.264 videos.
Same problem in all cases.
The same issue with Windows for
Video
and with macOS forVideo
andVideoTexture
.It works withVideoTexture
andVideo
.For Windows It works with
VideoTexture
.Also it works with iOS and Android.
Steps to Reproduce
Launch code below with any Windows/macOS device. After video playback it will be started again in a loop by handling
onPlayStatus
andNetStream::seek(0)
.Application example with sources and example of video attached.
stagevideo_onplaystatus_bug.zip
Actual Result:
Video will be stopped after one playback.
onPlayStatus
method didn't called.Expected Result:
Video playback in a loop.
onPlayStatus
method will be called.Known Workarounds
Use
NetStream.Play.Stop
event to detect video playback end.The text was updated successfully, but these errors were encountered: