/// <summary> /// Handles the ClientSessionTimeout event of the rtspServer control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Simon.SharpStreaming.Core.TClientSessionEventArgs"/> instance containing the event data.</param> void rtspServer_ClientSessionTimeout(object sender, TClientSessionEventArgs e) { AddServerInfo(string.Format("Client [{0}:{1}] was time out.", e.SessionInfo.ClientSessionIP, e.SessionInfo.ClientSessionPort.ToString())); }
/// <summary> /// Handles the ClientSessionConnected event of the rtspServer control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Simon.SharpStreaming.Core.TClientSessionEventArgs"/> instance containing the event data.</param> void rtspServer_ClientSessionConnected(object sender, TClientSessionEventArgs e) { AddClientInfo(e.SessionInfo); AddServerInfo(string.Format("Client [{0}:{1}] was connected.", e.SessionInfo.ClientSessionIP, e.SessionInfo.ClientSessionPort.ToString())); }
/// <summary> /// Handles the ClientSessionUpdated event of the rtspServer control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Simon.SharpStreamingServer.Core.TClientSessionEventArgs"/> instance containing the event data.</param> void rtspServer_ClientSessionUpdated(object sender, TClientSessionEventArgs e) { UpdateClientInfo(e.SessionInfo); AddServerInfo(string.Format("Client [{0}:{1}] sent a [{2}] request.", e.SessionInfo.ClientSessionIP, e.SessionInfo.ClientSessionPort.ToString(), e.SessionInfo.SessionState)); }