multi-provider hls stream fix

This commit is contained in:
euzu
2025-04-24 18:34:56 +02:00
parent 9f3c2bca69
commit 0661ea2026
4 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ fn rewrite_hls_url(input: &str, replacement: &str) -> String {
}
fn rewrite_uri_attrib(line: &str, props: &RewriteHlsProps) -> String {
if let Some(caps) = CONSTANTS.re_memory_usage.captures(line) {
if let Some(caps) = CONSTANTS.re_hls_uri.captures(line) {
let uri = &caps[1];
let target_url = &rewrite_hls_url(&props.hls_url, uri);
if let Some(token) = create_token_for_provider(props.secret, props.virtual_id, &props.provider_name, target_url) {