public void SignalDetachedFromInStream() { var protocol = ProtocolManager.GetProtocol(_rtpClient.protocolId); protocol?.EnqueueForDelete(); _rtspProtocol = null; }
public override bool TimePeriodElapsed() { var protocol = ProtocolManager.GetProtocol(_protocolId) as RtspProtocol; if (protocol == null) { FATAL("Unable to get parent protocol"); return(false); } if (!protocol.SendKeepAliveOptions()) { FATAL("Unable to send keep alive options"); return(false); } return(true); }
public static CommunityProtocol GetProtocol() { return(ProtocolManager.GetProtocol(ProtocolID.Community) as CommunityProtocol); }