コード例 #1
0
        public void SignalDetachedFromInStream()
        {
            var protocol = ProtocolManager.GetProtocol(_rtpClient.protocolId);

            protocol?.EnqueueForDelete();
            _rtspProtocol = null;
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public static CommunityProtocol GetProtocol()
 {
     return(ProtocolManager.GetProtocol(ProtocolID.Community) as CommunityProtocol);
 }