Polyv Help Center

Help Center

Interface: PlayerMediaInfo

Updated: 2025-10-10 12:02:04

Polyv Wx Live Player Component


Polyv Wx Live Player Component / modules/plv-live-player-core/polyv-live-player / PlayerMediaInfo

Interface: PlayerMediaInfo

Properties

duration?

optional duration: number

Returns the playback duration for replay videos.


levels?

optional levels: object

Quality level selection information.

active

active: number

Currently selected quality level.

options

options: LevelItem[]

Quality level options.


lines?

optional lines: object

Stream line selection information.

active

active: number

Currently selected stream line.

options

options: LineItem[]

Stream line options.


playCores?

optional playCores: object

Latency core selection information.

active

active: number

Currently selected latency core.

options

options: PlayCoreItem[]

Latency core options.


src

src: string

URL (live stream, replay, warm-up image, warm-up video URL).


type

type: typeof PlayType

Playback type.

联系客服,在线咨询