Page 1 of 1

LibVLCSharp MediaPlayer.IsPlaying won't work??

Posted: 31 Mar 2020 18:41
by tomashevic
trying to stream audio to other vlc, which is working, but when i call isPlaying property , it wont react , even if is MediaPlayer is playing.Why?I'm i using it properly ? Here is piece of code bellow.

medijaPlejer.Play(medij);
if (medijaPlejer.IsPlaying)
{
streamButton.Text = "Streaming";
streamButton.BackColor = Color.Green;

}

language is c#, LibVLCSharp version is 3.4.3., vlc core dll is 3.0.8 x86

Re: LibVLCSharp MediaPlayer.IsPlaying won't work??

Posted: 01 Apr 2020 09:35
by mfkl
Hi,

Could you open a bug report with your code at https://code.videolan.org/videolan/LibVLCSharp please?

This way we can have a proper look. Thanks!

Re: LibVLCSharp MediaPlayer.IsPlaying won't work??

Posted: 01 Apr 2020 11:22
by tomashevic
Ok, here it goes.