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

[1.x] how to config video room cascading in two host? #3434

Closed
zzxap opened this issue Sep 26, 2024 · 3 comments
Closed

[1.x] how to config video room cascading in two host? #3434

zzxap opened this issue Sep 26, 2024 · 3 comments
Labels
multistream Related to Janus 1.x

Comments

@zzxap
Copy link

zzxap commented Sep 26, 2024

What version of Janus is this happening on?
1.2.4

Have you tested a more recent version of Janus too?
Yes

Was this working before?
no

Is there a gdb or libasan trace of the issue?
no

Additional context
I had run janus success in a single host. but i want to run it in two host like janusA janusB

I had read https://www.meetecho.com/blog/sfu-cascading/
and #3014
but i dont konw how to config it in *.jcfg file .how to config two janusServer in the .jcfg file?
janusA how to know janusB exists?

and how to post a request? is there a demo about
how to
request: "add_remote_publisher",
request: "publish_remotely",

janusA how to know janusB exists? when add_remote_publisher

need to set two host public ip in nat_1_1_mapping of janus.jcfg?

@zzxap zzxap added the multistream Related to Janus 1.x label Sep 26, 2024
@atoppi
Copy link
Member

atoppi commented Sep 26, 2024

You can't do that through manual configuration of jcfg files.
You need to use the plugin APIs.

Orchestration must be performed by a separate piece of software, like an application server.

@atoppi atoppi closed this as completed Sep 26, 2024
@zzxap
Copy link
Author

zzxap commented Sep 26, 2024

You can't do that through manual configuration of jcfg files. You need to use the plugin APIs.

Orchestration must be performed by a separate piece of software, like an application server.

You can't do that through manual configuration of jcfg files. You need to use the plugin APIs.

Orchestration must be performed by a separate piece of software, like an application server.
to the video room api hard to understand how
{
request: "publish_remotely",
room: 1234,
publisher_id: 98765432,
secret: "adminpwd",
remote_id: "test",
host: "",
port: 10000,
rtcp_port: 10001
}
the host is janusA or janusB's IP?
how they know each other?

@atoppi
Copy link
Member

atoppi commented Sep 26, 2024

Please use https://janus.discourse.group/ for questions unrelated to code issues.

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

No branches or pull requests

2 participants