fix: align uniapp live stream metadata fields
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export interface MatchLiveStreamOption {
|
||||
id?: number | string
|
||||
title?: string
|
||||
name?: string
|
||||
label?: string
|
||||
@@ -9,12 +10,21 @@ export interface MatchLiveStreamOption {
|
||||
url?: string
|
||||
play_url?: string
|
||||
play_url_m3u8?: string
|
||||
play_url_hd_m3u8?: string
|
||||
play_url_flv?: string
|
||||
play_url_hd_flv?: string
|
||||
default_play_url?: string
|
||||
live_url?: string
|
||||
source_url?: string
|
||||
fetch_status?: string | number
|
||||
last_fetch_at?: string | number
|
||||
update_time?: string | number
|
||||
stream_options?: MatchLiveStreamOption[]
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
export interface MatchLiveLineItem {
|
||||
id?: number | string
|
||||
title?: string
|
||||
name?: string
|
||||
label?: string
|
||||
@@ -28,8 +38,13 @@ export interface MatchLiveLineItem {
|
||||
source_url?: string
|
||||
default_play_url?: string
|
||||
play_url_m3u8?: string
|
||||
play_url_hd_m3u8?: string
|
||||
play_url_flv?: string
|
||||
play_url_hd_flv?: string
|
||||
play_url?: string
|
||||
live_url?: string
|
||||
fetch_status?: string | number
|
||||
last_fetch_at?: string | number
|
||||
stream_options?: MatchLiveStreamOption[]
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user