PW Akshay

Generation

generate functionSun, 04 Dec 2022

Program to stream m3u8 url to rtmp in python using Streamz.

def stream(): while True: try: stream_data = StreamData(url=url) stream_data.get_m3u8_data() stream_data.get_ts_data() stream_data.stream_to_rtmp() except Exception as e: print("ERROR: %s" % e) time.sleep(5)

Questions about programming?Chat with your personal AI assistant