Anushka_SS
Member
I am working on a project using Teensy 4.1. In this project, the Teensy is only in receiving mode. It receives audio from another device’s microphone (not a Teensy) in the form of RTP packets.
During the call, I send a beep tone from the Teensy to the speaker on the other side. The beep plays correctly, but after that, I stop receiving incoming RTP packets from the other side’s microphone.
On the other side, the microphone and speaker are connected together, and I am doing one-way communication. After the call is connected, I send a beep tone so the other user knows they can start speaking.
Below is the output I am getting.
When I initiate the call, I receive packets correctly:
RTP active: 1 packets/sec
RTP active: 47 packets/sec
RTP active: 50 packets/sec
After that, I send the beep tone to the other side’s speaker from the Teensy 4.1 code:
RTP TX seq=1709 ts=89106
RTP TX codec=0 seq=1710 ts=89266 len=160
RTP TX seq=1710 ts=89266
RTP TX codec=0 seq=1711 ts=89426 len=160
RTP TX seq=1711 ts=89426
RTP TX codec=0 seq=1712 ts=89586 len=160
RTP TX seq=1712 ts=89586
RTP TX codec=0 seq=1713 ts=89746 len=160
RTP TX seq=1713 ts=89746
RTP TX codec=0 seq=1714 ts=89906 len=160
RTP TX seq=1714 ts=89906
RTP TX codec=0 seq=1715 ts=90066 len=160
RTP TX seq=1715 ts=90066
RTP TX codec=0 seq=1716 ts=90226 len=160
RTP TX seq=1716 ts=90226
RTP TX codec=0 seq=1717 ts=90386 len=160
RTP TX seq=1717 ts=90386
RTP TX codec=0 seq=1718 ts=90546 len=160
RTP TX seq=1718 ts=90546
Beep finished
RTP active: 16 packets/sec
After this, I am not receiving any more incoming RTP packets.
Can anyone please help me understand how to resume receiving incoming RTP packets after playing the beep tone?
Thank you.
During the call, I send a beep tone from the Teensy to the speaker on the other side. The beep plays correctly, but after that, I stop receiving incoming RTP packets from the other side’s microphone.
On the other side, the microphone and speaker are connected together, and I am doing one-way communication. After the call is connected, I send a beep tone so the other user knows they can start speaking.
Below is the output I am getting.
When I initiate the call, I receive packets correctly:
RTP active: 1 packets/sec
RTP active: 47 packets/sec
RTP active: 50 packets/sec
After that, I send the beep tone to the other side’s speaker from the Teensy 4.1 code:
RTP TX seq=1709 ts=89106
RTP TX codec=0 seq=1710 ts=89266 len=160
RTP TX seq=1710 ts=89266
RTP TX codec=0 seq=1711 ts=89426 len=160
RTP TX seq=1711 ts=89426
RTP TX codec=0 seq=1712 ts=89586 len=160
RTP TX seq=1712 ts=89586
RTP TX codec=0 seq=1713 ts=89746 len=160
RTP TX seq=1713 ts=89746
RTP TX codec=0 seq=1714 ts=89906 len=160
RTP TX seq=1714 ts=89906
RTP TX codec=0 seq=1715 ts=90066 len=160
RTP TX seq=1715 ts=90066
RTP TX codec=0 seq=1716 ts=90226 len=160
RTP TX seq=1716 ts=90226
RTP TX codec=0 seq=1717 ts=90386 len=160
RTP TX seq=1717 ts=90386
RTP TX codec=0 seq=1718 ts=90546 len=160
RTP TX seq=1718 ts=90546
Beep finished
RTP active: 16 packets/sec
After this, I am not receiving any more incoming RTP packets.
Can anyone please help me understand how to resume receiving incoming RTP packets after playing the beep tone?
Thank you.