I am trying to build a recorder using LibVlcSharp based on this sample. I managed to get the example working. However, let's say I am recording a live stream and I want to be able to detect if an error happens.
My first thought was using Media.State
to detect errors. However, I found that Media.State
is always "Playing" even after I turned off the WiFi. I guess my question is: Does LibVlcSharp fire any event if an error happens during playing/recording.
Thanks,