npm install chzzk-sdkimport { getHLS, getLLHLS } from "chzzk-sdk";
const channelID = '9381e7d6816e6d915a44a13c0195b202'
const HLS = await getHLS(channelID)
const LLHLS = await getLLHLS(channelID)| Arguments | Type | Description |
|---|---|---|
Channel ID |
string |
Chzzk Channel ID |
{
video: {
'1080p': 'https://livecloud.pstatic.net/.....m3u8',
'720p': 'https://livecloud.pstatic.net/.....m3u8',
'480p': 'https://livecloud.pstatic.net/.....m3u8',
'360p': 'https://livecloud.pstatic.net/.....m3u8',
'144p': 'https://livecloud.pstatic.net/.....m3u8'
}
}import { getLiveDetail } from "chzzk-sdk";
const channelID = '9381e7d6816e6d915a44a13c0195b202'
const liveDetail = await getLiveDetail(channelID)| Arguments | Type | Description |
|---|---|---|
Channel ID |
string |
Chzzk Channel ID |