Interface: StreamResponse
Defined in: src/animob/animob.ts:38
The StreamResponse
interface represents video stream metadata, including sources, headers, and additional contextual information.
Properties
sources
sources:
object
[]
Defined in: src/animob/animob.ts:39
An array of source objects, each containing the following properties:
url
url:
string
The URL of the video stream source.
quality
quality:
string
The quality of the video stream (e.g., โ720pโ, โ1080pโ).
isM3U8
isM3U8:
boolean
Indicates whether the source type is M3U8, which is a format for HTTP Live Streaming.
headers?
optional
headers:Record<string, string>
Defined in: src/animob/animob.ts:44
An optional record of HTTP headers associated with the stream response. This may include metadata such as authentication tokens or content type.
intro?
optional
intro:object
Defined in: src/animob/animob.ts:45
An optional object specifying the introductory segment details for the stream. It includes the following properties:
start
start:
number
The start time of the introduction in seconds.
end
end:
number
The end time of the introduction in seconds.