Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Audio Frames Received When Using aiortc for WebRTC Communication #1147

Open
ilyas-dh opened this issue Aug 20, 2024 · 0 comments
Open

No Audio Frames Received When Using aiortc for WebRTC Communication #1147

ilyas-dh opened this issue Aug 20, 2024 · 0 comments

Comments

@ilyas-dh
Copy link

I'm experiencing an issue where no audio frames are being received by my Python WebRTC client using aiortc. The setup involves a Python script that is supposed to establish a WebRTC connection, receive audio streams, and process these frames. However, despite successfully establishing the connection and seeing that the track is live, no audio frames are being received. Additionally, when I attempted to send audio from this client, the audio heard on the working remote client was severely distorted.

Steps to Reproduce:
Set up a WebRTC connection using aiortc.
Configure the client to receive audio streams from a remote WebRTC server.
Add a track to receive audio, set the direction to recvonly, and attempt to process incoming audio frames.
Observe that the connection is established, but no audio frames are received or processed.

Expected Behavior:
Audio frames should be received continuously on the client side when the audio track is live, allowing for further processing or playback.

Actual Behavior:
The WebRTC connection is successfully established.
The audio track appears to be live.
However, no audio frames are received or processed, even after waiting for a significant period.

Details:
Codec in Use: Opus with default parameters.
Client Library: aiortc
Connection Status: Successfully connected, ICE connection completes, and the track is marked as live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant