TvController_IsGrabbingTeletext() public static method

public static TvController_IsGrabbingTeletext ( IUser user ) : bool
user IUser
return bool
コード例 #1
0
 public override bool IsGrabbingTeletext(LiveStream liveStream)
 {
     if (liveStream.Channel.ChannelType == ChannelType.Television)
     {
         try
         {
             if (_liveStreams.ContainsKey(liveStream.RtspUrl))
             {
                 IUser tve3User = _liveStreamUsers[liveStream.RtspUrl];
                 return(TvServerPlugin.TvController_IsGrabbingTeletext(tve3User));
             }
         }
         catch (Exception ex)
         {
             Log(TraceEventType.Error, ex.Message);
         }
     }
     return(false);
 }