Option to include the whole segment URL in the m3u8 #4251
Replies: 1 comment
-
This is resolved. I ended up creating a proxy to rewrite the index.m3u8. My proxy generates the file in this format #EXTM3U #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="audio2",AUTOSELECT=YES,DEFAULT=YES,URI="https://video.acme.org/abcstream/audio2_stream.m3u8" #EXT-X-STREAM-INF:BANDWIDTH=48786,AVERAGE-BANDWIDTH=47395,CODECS="hvc1.1.2.L153.0,opus",RESOLUTION=1280x720,AUDIO="audio" All the subsequent streams are getting generated with the base URL. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I am looking to embed the stream m3u8 into a website. The challange i am facing is that the m3u8 segment URL's are relative. They don't have the full URL
Example m3u8
#EXTM3U
#EXT-X-VERSION:9
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="audio2",AUTOSELECT=YES,DEFAULT=YES,URI="audio2_stream.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=48786,AVERAGE-BANDWIDTH=47395,CODECS="hvc1.1.2.L153.0,opus",RESOLUTION=1280x720,AUDIO="audio"
video1_stream.m3u8
I am looking for a way to have the whole URL in the generated index m3u8 instead of the relative URL. for example
https://20.20.20.20:8888/stream_22/video1_stream.m3u8
Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions