pub async fn check_tree(
url: &str,
timeout: u32,
max_depth: u8,
max_retries: u8,
) -> StreamCheckResultExpand description
Check url for audio/video stream.
§Example
let item = av_stream_info_rust::check_tree("https://example.com/test.m3u", 10, 3, 3, true);
println!("{:#?}", item);§Arguments
url- The url to checktimeout- TCP timeout for connect and read in secondsmax_depth- How many layers of http redirects or playlists should be followedretries- Retry how many times to find at least one working streamearly_exit_on_first_ok- return from checking as early as 1 working stream has been found