Skip to content
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

media plays the sound but there is no image after [restart window10+fisrt start programe] with low probability #286

Open
yangbocheng opened this issue Apr 24, 2019 · 3 comments

Comments

@yangbocheng
Copy link

#That just may show after restart windows10 with low probability.
#prepare
create a VLCplayer in xaml the same as Example.
play a MP4 after the Event ContentRendered.
restart Windows10 computer and start the program.
#phenomenon //restart window + fisrt start programe
it will always take a few time to fisrt initialize VLC
it may play without image with low probability. But if i restart the programe, it just can work well again

@devkanro
Copy link
Owner

Have you tried to stop it and replay?

@yangbocheng
Copy link
Author

When this happens,i have tried every option such as pause()/resume(), play(), stop(), replay(). There is good sounds, But it still play without image.

Now, it often play without image.........even i restart the programe
#I'am sure that i load media and play it after the Event ContentRendered.
and before loadmedia , there is a log .
Debug($"initsource:{hascontentRended} ApiManager.IsInitialized:{ApiManager.IsInitialized} media:{media.IsInitialized}");====>"initsource:True ApiManager.IsInitialized:True media:True"

@yangbocheng
Copy link
Author

#add
when it happends, if i change the size of parent window, thers is still no image(with sounds)
But when it plays well in the beginning, the video image will increase synchronously.
Maybe that's useful?!...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants