LibVLCSharp MediaPlayer.IsPlaying won't work??
Posted: 31 Mar 2020 18:41
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
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