-
Notifications
You must be signed in to change notification settings - Fork 553
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
Receiving input audio as raw binary data #1268
Comments
Is this raw audio or something else? |
If that's the case, then you should be able to use a serializer that does something like this:
NOTE: you pass the sample rate at run time. Look at other serializers. |
@aconchillo I'm not entirely sure what type it is. I'm using a simple react component for the client side.
Is there a simpler more recommended way? |
Hello! I am trying to implement pipecat into an already existing application using normal websockets, which means I cannot use one of the preferred transports. Pipecat seems to connect find to the websocket and receive the audio, but it cannot decode it:
WebsocketClientTransport#0::WebsocketClientSession exception receiving data: DecodeError (Error parsing message with type 'pipecat.Frame')
.Is there a specific serializer I should use for the
WebsocketClientParams
or something else?Thanks a lot for the help!
The input data looks like this:
The text was updated successfully, but these errors were encountered: