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)

Questions about programming?Chat with your personal AI assistant