python-librtmp
python-librtmp copied to clipboard
if rtmpurl's connection isn't close,exit program ,program restart call the same rtmp again,process will be crash
hello i have a question ,Can you help me ?
I create two thread ,one tread call rtmpurl(exists),other thread call rtmpurl(not exits),the process was force exit by me. Do the same thing again,process will be crash .
my code:
import librtmp conn = librtmp.RTMP(rtmpurl, live=True) conn.connect() stream = conn.create_stream() data = stream.read(1024)