removed protocol from sxyprn stream format
This commit is contained in:
@@ -278,7 +278,6 @@ impl SxyprnProvider {
|
|||||||
let mut formats_vec = vec![];
|
let mut formats_vec = vec![];
|
||||||
formats_vec.push(
|
formats_vec.push(
|
||||||
VideoFormat::new(video_url.clone(), "1080".to_string(), "m3u8".to_string())
|
VideoFormat::new(video_url.clone(), "1080".to_string(), "m3u8".to_string())
|
||||||
.protocol("https".to_string())
|
|
||||||
.format_id(video_url.clone())
|
.format_id(video_url.clone())
|
||||||
.ext("m3u8".to_string())
|
.ext("m3u8".to_string())
|
||||||
.video_ext("m3u8".to_string())
|
.video_ext("m3u8".to_string())
|
||||||
@@ -286,7 +285,6 @@ impl SxyprnProvider {
|
|||||||
for surl in stream_urls {
|
for surl in stream_urls {
|
||||||
formats_vec.push(
|
formats_vec.push(
|
||||||
videos::VideoFormat::new(surl.clone(), "1080".to_string(), "m3u8".to_string())
|
videos::VideoFormat::new(surl.clone(), "1080".to_string(), "m3u8".to_string())
|
||||||
.protocol("https".to_string())
|
|
||||||
.format_id(surl)
|
.format_id(surl)
|
||||||
.ext("m3u8".to_string())
|
.ext("m3u8".to_string())
|
||||||
.video_ext("m3u8".to_string())
|
.video_ext("m3u8".to_string())
|
||||||
|
|||||||
Reference in New Issue
Block a user