mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
feat: add Xtream API proxy with SSRF protection and streaming handler with FFmpeg integration.
This commit is contained in:
1 parent
7eb483fc07
commit
bd7645922d
4 files changed
+113
-172
No files matched your search
@@ -78,7 +78,8 @@ class XtreamService {
|
||||
/// Generate stream URL for live TV
|
||||
String getLiveStreamUrl(String streamId) {
|
||||
if (_currentPlaylist == null) throw Exception('No playlist configured');
|
||||
return '$_backendBaseUrl/api/live/$streamId.ts';
|
||||
// Use HLS (.m3u8) for all live streams to ensure iOS compatibility
|
||||
return '$_backendBaseUrl/api/live/$streamId.m3u8';
|
||||
}
|
||||
|
||||
/// Generate stream URL for VOD (movies)
|
||||
|
||||
Reference in new issue
Block a user