public ChannelStatus GetChannelStatus()
 {
     try
     {
         return((RtspStreamerLib.GetStreamRateLib(_RstpStreamLibPointer) <= 0) ?
                ChannelStatus.Error : ChannelStatus.Normal);
     }
     catch
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 public ChannelStatus GetChannelStatus()
 {
     try
     {
         return(Enum.TryParse(RtspStreamerLib.GetStreamRateLib(_rstpStreamLibPointer).ToString(), out ChannelStatus status)
                     ? status
                     : ChannelStatus.Unknown);
     }
     catch
     {
         throw;
     }
 }