aaknitt / zellostream

Python script to stream audio to and from a Zello channel
MIT License
43 stars 11 forks source link

memory allocation failed #2

Closed tjsawyer closed 3 years ago

tjsawyer commented 3 years ago

sending to stream_id 30374 Done sending audio {'error': 'channel is not ready', 'seq': 2} {'command': 'on_channel_status', 'channel': 'PC 911 Dispatch', 'status': 'online', 'users_online': 3, 'images_supported': False, 'texting_supported': False, 'locations_supported': False} {'stream_id': 2439, 'success': True, 'seq': 3} sending to stream_id 2439 Done sending audio Traceback (most recent call last): File "/home/pi/zello/zellostream.py", line 163, in enc = opuslib.api.encoder.create_state(RATE,CHANNELS,opuslib.APPLICATION_AUDIO) File "/home/pi/.local/lib/python3.7/site-packages/opuslib/api/encoder.py", line 67, in create_state raise opuslib.OpusError(result_code.value) opuslib.exceptions.OpusError: b'memory allocation failed'

aaknitt commented 3 years ago

Believe this is fixed in the latest update. If not let me know.