TvController_HeartBeat() public static method

public static TvController_HeartBeat ( IUser user ) : void
user IUser
return void
 public override bool KeepLiveStreamAlive(LiveStream liveStream)
 {
     lock (_liveStreamsLock)
     {
         if (_liveStreams.ContainsKey(liveStream.RtspUrl))
         {
             _liveStreams[liveStream.RtspUrl].StreamLastAliveTimeUtc = liveStream.StreamLastAliveTimeUtc;
             IUser tve3User = _liveStreamUsers[liveStream.RtspUrl];
             if (TvServerPlugin.TvController_IsTimeShifting(ref tve3User))
             {
                 TvServerPlugin.TvController_HeartBeat(tve3User);
                 return(true);
             }
             else
             {
                 _liveStreams.Remove(liveStream.RtspUrl);
                 _liveStreamUsers.Remove(liveStream.RtspUrl);
             }
         }
     }
     return(false);
 }