media plays the sound but there is no image after [restart window10+fisrt start programe] with low probability
#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
Have you tried to stop it and replay?
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"
#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?!...