/// <summary> /// Initializes an instance of <see cref="VideoClient"/>. /// </summary> internal VideoClient(YoutubeHttpClient httpClient) { _httpClient = httpClient; Streams = new StreamsClient(httpClient); ClosedCaptions = new ClosedCaptionClient(httpClient); }
/// <summary> /// Initializes an instance of <see cref="VideoClient"/>. /// </summary> public VideoClient(HttpClient http) { _controller = new VideoController(http); Streams = new StreamClient(http); ClosedCaptions = new ClosedCaptionClient(http); }