因此,我一直在使用Java开发程序,并且可以获取m3u8播放列表。 例如这样的结果
[
{
"resolution":"1920x1080",
"url":"https://video-weaver.ord02.hls.ttvnw.net/v1/playlist/CtAD4rHFHwfN46oCHLZPftpNiWjhfc4GGgXWqonqVwWUxD5tLQmrcIlRuFoOX3q7wSBFrAyW3WH_5kATHdruy2KyNLZ7YjLGTRZC74_3CEUclrqmYRIX5J8O8L5B7xjGnHBuifu51zL66MGI71-jZ8LD5Gwh7IS9l99iDOk68ArGNAeZpX2th5IduC3ZY8OUd9FPDFHZbVCj1DM-ekxTZ15XCXR6N7xjc-6buqW-BVyz9JIlU9eGY5yAJK1kV8FU9VwkCs9YvgQLb2d-m2yyjZjss_1F90BRT8UEKtNklsCtJ1rjCf_TafgXlpcTTFA5t-_ZbwARhktqDWO-P2M2gSFwX2ZM9UKmA6vgxPFNuzCU_pPRvsjaiyOF3ABYQoqY62Szx1lJ_PnSYjnGZ4QoODHoyoFUK8PYiQXmOCJ4AVA2L_qb1gf9p90N6Wlv_xC-jyBW6WBF9bop3gJOU7wW2Avoo7558PjCejUrfPD8zeVdaQ_-hNjwgEdW66Wcgf76I54oq12Yxqr92jud9nl8wWczE_VF34Vj-sE42amnCpPVRSa1k90vBqTMTtYQhzrKyBwXvo8weiG7IqfUgnTcOSAJ9iSmBEy8X5BDlO0IJnqGxSISEMhdoq5caAcX0P_kS-VNcTcaDIIkF3nLCeNvVjc-YQ.m3u8",
"quality":"1080p60 (source)"
},
{
"resolution":"1280x720",
"url":"https://video-weaver.ord02.hls.ttvnw.net/v1/playlist/Cs4DYFO5mZfiMBfkTGBPLey3DbKgl_LLj8f5Q5c80CYY2ncSMfHexOpzHkJg5uMoP6KPQKhkBmBmea6mldd4K2tYVWI5OKXMn-QhJ0BF-2S78B1OQI12uNWQnJWYQDM1bMo2zZ0u78p_Gyk2P5omSuxBX_J_4xcRr1by_33_CX0WAH3DDS1JQGk5_pnz4wvVB1UgMshtgQ7BI1Dtz8t85q3swXSdnSKKQC_r8msaOHtoa6W1GZ7iaWdC7wJjnPsqxEvbJctvjLFDF_KVQ0l8x-S1vhexTvueoh0VLuuqZKhbWP3v8A4r73APDlDKK1d8MV0pDIfGwIHW5PBLHP4MQdY7nNjOlzGvHggjbbG8yGDmbVNgAYZRNZolJFLFDBEmsYNP2FM9jeEINj6rX_8lI1rYhnSYHe9XUM2W8HIoCQmktLZx6vW-fg7nXLYydzB_CEc8Ad7z6wrsBOPK7syK1lzo_jUxCy7arWNc-CH70kRBy5EP9p7WNo-CKHtW0HSqcaTJccDlQgJ_ntoQvN4OGxHC27ojr8_KM-kJGOcqahG4bKY-LYput2s29fcvJPelOQcPKIXm3Z1qmt8L3t42Ny17cdMzlvNauIzR-xfGl1rbEhCfcEt1e2QGyBFarxGh9MsXGgzjMHIpTTu1rkeD3Vs.m3u8",
"quality":"720p60"
},
我很好奇我将如何从该流中接收原始数据,这样我便可以自己处理这些数据。例如VLC能够获取其中任何一个文件/网站的位置并显示流中正在显示的视频的方式。任何帮助或指导表示赞赏。