Error When Starting Seamless Streaming

#22
by Barry8 - opened

I've been having trouble getting Facebook's seamless streaming demo to work properly. When I try to start streaming, I immediately get the following error:
[server_exception] The server encountered an exception: [app_pubsub] Caught exception in 'configure_stream' event handler:

name 'allow_speaker' is not defined

This happens as soon as I click the "Start Streaming" button, and I've tried across different browsers and devices, but keep hitting the same error.

The seamless streaming demo was working for me earlier last week, but now I can't seem to get it running at all. Based on the error shown, it seems there might be a bug in the server-side code related to configuring the stream.

I was wondering if anyone else using the Facebook seamless streaming demo has run into this "allow_speaker not defined" exception when trying to start streaming? Or if there are any tips to try and resolve it on my end? I'd be interested in hearing if others are hitting this same bug or if it's something environmental on my side.

same here, but I didn't find a solution yet

The problem seems to be here: https://huggingface.co/spaces/facebook/seamless-streaming/commit/0eb30466971d16dc169c6a9517d12b81252cfdd7 were the function allow_speaker got removed

The solution is git checkout f67796bad57bde37f9fff104a27707857f1776d8 (previous commit) and building the docker image again.

The problem seems to be here: https://huggingface.co/spaces/facebook/seamless-streaming/commit/0eb30466971d16dc169c6a9517d12b81252cfdd7 were the function allow_speaker got removed

I followed this method and modified all of them and still have the same problem, is there any other way to do it?

The solution is git checkout f67796bad57bde37f9fff104a27707857f1776d8 (previous commit) and building the docker image again.

I solved the above problem by this method, but there is still a reported error
[2024-01-08 13:53:43,444][ERROR][app_pubsub]: [app_pubsub] Caught exception in 'incoming_audio' event handler:
apply_effects_tensor requires sox extension which is not available. Please refer to the stacktrace above for how to resolve this.
Has this ever happened to any of you?

Sign up or log in to comment