EnableKeepAlive() public méthode

public EnableKeepAlive ( uint period, string keepAliveURI ) : bool
period uint
keepAliveURI string
Résultat bool
 private bool HandleRTSPResponse200Play(RtspProtocol rtspProtocol, Variant requestHeaders, ref string requestContent, Variant responseHeaders, ref string responseContent)
 {
     //1. Get the inbound connectivity
     if (rtspProtocol.InboundConnectivity == null)
     {
         FATAL("Unable to get inbound connectivity");
         return false;
     }
     //2. Create the stream
     if (!rtspProtocol.InboundConnectivity.Initialize())
     {
         FATAL("Unable to initialize inbound connectivity");
         return false;
     }
     //3. Enable keep alive
     return rtspProtocol.EnableKeepAlive(10, rtspProtocol.CustomParameters["uri","fullUri"]);
 }