Skip to content

Commit 6629115

Browse files
authored
fix(hls): pass destination URL to create_streamer in handle_hls_stream_proxy (#278)
1 parent a6fc2a6 commit 6629115

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mediaflow_proxy/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ async def handle_hls_stream_proxy(
136136
Returns:
137137
Union[Response, EnhancedStreamingResponse]: Either a processed m3u8 playlist or a streaming response.
138138
"""
139-
streamer = await create_streamer()
139+
streamer = await create_streamer(hls_params.destination)
140140
# Handle range requests
141141
content_range = proxy_headers.request.get("range", "bytes=0-")
142142
if "nan" in content_range.casefold():

0 commit comments

Comments
 (0)