public bool EnableKeepAlive(uint period, string keepAliveURI) { var timer = new RtspKeepAliveTimer(Id); _keepAliveTimerId = timer.Id; _keepAliveURI = keepAliveURI.Trim(); if (_keepAliveURI == string.Empty) { _keepAliveURI = "*"; } return(timer.EnqueueForTimeEvent(period)); }
public bool EnableKeepAlive(uint period, string keepAliveURI) { var timer = new RtspKeepAliveTimer(Id); _keepAliveTimerId = timer.Id; _keepAliveURI = keepAliveURI.Trim(); if (_keepAliveURI == string.Empty) _keepAliveURI = "*"; return timer.EnqueueForTimeEvent(period); }