Crate av_stream_info_rust[][src]

This library can analyze a http/https address and check if leads to an audio or a video stream If so, then it will extract information about the stream from its metadata or in case of HLS streams from its master playlist file.

Example

let list = av_stream_info_rust::check("https://example.com/test.m3u", 10, 3, 3);
for item in list {
    println!("{:?}", item);
}

Structs

LatLong

Represents a geo-location with latitude and longitude. It can be constructed from a String.

MetaInfoFile

Does contain decoded information from a stream information file

StreamCheckResult

A check result for a single url

StreamInfo

Information extracted from a stream

Enums

DecodeError

Decoding errors for headers

StreamCheckError

Posible errors for stream checking. First parameter is the url.

Functions

check

Check url for audio/video stream.

extract_from_homepage