chrippa / python-librtmp

python-librtmp is a RTMP client library. It uses the implementation provided by librtmp via cffi.
BSD 2-Clause "Simplified" License
153 stars 33 forks source link

if rtmpurl's connection isn't close,exit program ,program restart call the same rtmp again,process will be crash #33

Open luowqn opened 6 years ago

luowqn commented 6 years ago

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)