code: func getStreamingConfig(kubeCfg *kubeletconfiginternal.KubeletConfiguration, kubeDeps *Dependencies, crOptions *config.ContainerRuntimeOptions) *streaming.Config {
  	config := &streaming.Config{
  		StreamIdleTimeout:               kubeCfg.StreamingConnectionIdleTimeout.Duration,
  		StreamCreationTimeout:           streaming.DefaultConfig.StreamCreationTimeout,
  		SupportedRemoteCommandProtocols: streaming.DefaultConfig.SupportedRemoteCommandProtocols,
  		SupportedPortForwardProtocols:   streaming.DefaultConfig.SupportedPortForwardProtocols,
  	}
  	if !crOptions.RedirectContainerStreaming {
  		config.Addr = net.JoinHostPort("localhost", "0")
  	} else {
  		// Use a relative redirect (no scheme or host).
  		config.BaseURL = &url.URL{
  			Path: "/cri/",
  		}
  		if kubeDeps.TLSOptions != nil {
  			config.TLSConfig = kubeDeps.TLSOptions.Config
  		}
  	}
  	return config
  }
docs: // Gets the streaming server configuration to use with in-process CRI shims.