diff --git a/ambe_audio.py b/ambe_audio.py index 8afaa51..c32e599 100755 --- a/ambe_audio.py +++ b/ambe_audio.py @@ -46,10 +46,11 @@ class ambeIPSC(IPSC): def group_voice(self, _network, _src_sub, _dst_sub, _ts, _end, _peerid, _data): # THIS FUNCTION IS NOT COMPLETE!!!! _payload_type = _data[30:31] + _ambe_frames = _data[33:51] if _payload_type == BURST_DATA_TYPE['SLOT1_VOICE']: - print('SLOT 1 Voice Burst Data Recieved') + print(h(_ambe_frames)) if _payload_type == BURST_DATA_TYPE['SLOT2_VOICE']: - print('SLOT 2 Voice Burst Data Recieved') + print(h(_ambe_frames)) if __name__ == '__main__':