Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Shows only the first stream #13

Open
calanor opened this issue May 1, 2018 · 3 comments
Open

Shows only the first stream #13

calanor opened this issue May 1, 2018 · 3 comments

Comments

@calanor
Copy link

calanor commented May 1, 2018

I have a nginx-rtmp server configured with two rtmp applications.
The stat.xml generated by nginx-rtmp-module shows correctly the two applications and each application with its streams but nginx-rtmp-monitoring shows only the first rtmp application.

Is there any way to monitor more than one application from the same server with nginx-rtmp-monitoring?

@omar-haris
Copy link
Owner

if you have more then one application you can't do that,

but if you wan't you can make RP to do that you just need to edit this file

https://github.com/fiftysoft/nginx-rtmp-monitoring/blob/master/public/js/model.js

and play with this setLiveStream function

good luck

@calanor
Copy link
Author

calanor commented May 1, 2018

or iterate into server[0].application in socket.on function of core.js.

Thanks for this great job.

@calanor
Copy link
Author

calanor commented May 2, 2018

Pushed a pull request for simple solution: #14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants