mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
🐛 fix(input): Append input to server's session ID for now (#56)
## Description **What issue are you solving (or what feature are you adding) and how are you doing it?** I am having issues trying to append `input` to the session_id using bash. Most probably because supervisord is using the ENV variables already available in the container. So, here we append the `input` part inside the rust binary instead. This is much cleaner and it works.
This commit is contained in:
@@ -61,7 +61,9 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
.await
|
.await
|
||||||
.context("failed to create MoQ Transport session")?;
|
.context("failed to create MoQ Transport session")?;
|
||||||
|
|
||||||
let (prod, sub) = serve::Track::new(config.namespace, config.track).produce();
|
let namespace = format!("{}input", config.namespace);
|
||||||
|
|
||||||
|
let (prod, sub) = serve::Track::new(namespace, config.track).produce();
|
||||||
|
|
||||||
let input = input::Subscriber::new(sub);
|
let input = input::Subscriber::new(sub);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user