-
Notifications
You must be signed in to change notification settings - Fork 369
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
Websocket not working as expected #640
Comments
Daily's transport is built using WebRTC, which is very resilient to variable network conditions. Under ideal network conditions, Websockets can work on par with WebRTC. But, networks are not ideal very often. At least in terms of voice quality, I don't expect performance to be as good with Websockets. For production apps running on real world networks, I would recommend using a WebRTC transport. |
I'd like to first thank the team for the remarkable work done on pipecat. However, I would like to share some observations regarding the transport layer: Regarding current solutions:
Given that there are numerous open-source WebRTC projects available that are both free to use and privacy-friendly, are there any plans to integrate additional WebRTC transport layers beyond the currently available options? Thank you |
Hi @ttamoud , May I ask for your opinion? Could you share your thoughts on the limitations of LiveKit’s features? I’m curious about how LiveKit compares to Daily in terms of functionality. I’ve been thinking that the Daily library seems a bit harder to use and more prone to bugs compared to LiveKit. Because of this, I’ve been considering LiveKit. Thank you! |
While LiveKit offers a more straightforward implementation, it has several limitations compared to Daily: Audio/Video Processing: Daily provides more sophisticated audio processing with built-in VAD support and better video quality control. LiveKit has more basic audio configuration options and a simpler video subscription model. Advanced Features: Daily includes native transcription support, comprehensive dial-in/dial-out capabilities, and advanced recording functionality out of the box. These features are absent in LiveKit and would require additional components to implement. Connection Management: Daily has more robust reconnection logic and better error handling, while LiveKit offers more basic reconnection strategy and simpler error handling mechanisms. Hope that helps ! |
Thank you for sharing your experience, @ttamoud! It’s much appreciated. |
As a side note: i am using daily with Audio-only and not experiencing any issue, its been stable and transcription is pretty accurate, VAD works perfectly well too. |
What do you mean by i'm using audio only, you mean using audio only with daily on windows or wsl maybe ? Or directly with no wsl ? If it's the case can you pls share how you did it ? I have multiple pipecat worfklows on standby just because of windows compatibility. |
i contacted daily to enable audio only charging (much cheaper) for my account. I run on WSL inside windows and also on my redhat linux server |
@sadimoodi What version of Pipecat? Version 0.0.48 fixed websocket interruptions and also increased sample rate to 24000, however I think the websocket client is setup to 16000 so I think a resampling is happening. Would it be possible for you to try again? |
Hello,
I am using the below code to build a voice agent, most of the code has been gathered from different examples. I am facing the following problems:
1- interruption handling is bad compared to exactly the same code but using daily as transport (same VADParams).
2- the voice quality is inferior to using daily, though i am running everything locally.
the same code runs like a charm using daily as transport, what can i do to achieve the same results using sockets?
The text was updated successfully, but these errors were encountered: