 # If true, RTSP requests/responses tunneled in HTTP will be
 # printed to the console
 DEBUG_HTTP_TUNNEL = false
+
+# If true, UDP transport will always be disabled and
+# clients will be forced to use TCP transport.
+DEBUG_DISABLE_UDP_TRANSPORT = false
 
 detectedVideoWidth = null
 detectedVideoHeight = null

    serverPort = null
    track = null

    # Check tranpsort
    # Disable UDP transport over the internet
#    if client.isGlobal and not /\bTCP\b/.test req.headers.transport
#      console.log "Unsupported transport: UDP is temporarily disabled"
#      respondWithUnsupportedTransport callback, {CSeq: req.headers.cseq}
#      return

    if /trackID=1/.test req.uri  # audio
      track = 'audio'

      return

    preventFromPlaying = false

#    if (req.headers['user-agent']?.indexOf('QuickTime') > -1) and
#    not client.getClient?.useTCPForVideo
#      # QuickTime produces poor quality image over UDP.
