PW Akshay

Generation

generate functionSun, 04 Dec 2022

stream with m3u8 to rtmp in python (no ffmpeg)

def stream(url, key): r = requests.get(url, stream=True) stream = Stream(key) for chunk in r.iter_content(chunk_size=1024): stream.write(chunk)

Want to kickstart your project?Use the new AI Studio to create your code