JamesHarrison / openob

The Open Outside Broadcast project for radio contribution links and studio-transmitter links.
158 stars 34 forks source link

Index error on peak measurements in TX #7

Closed JamesHarrison closed 11 years ago

JamesHarrison commented 11 years ago

Not sure what's causing this; only happens on the one sound card. Receiver seems happy.

IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/OpenOB-2.3-py2.7.egg/openob/rtp/tx.py", line 126, in on_message
    if int(message.structure['peak'][0]) > -1 or int(message.structure['peak'][1]) > -1:
IndexError: list index out of range````
JamesHarrison commented 11 years ago

Fixed - mono compat issue.