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

Banning user with User_Controll plugin does not end/stop their livestream? #3563

Closed
Markus-web opened this issue Aug 26, 2020 · 8 comments
Closed

Comments

@Markus-web
Copy link

Markus-web commented Aug 26, 2020

Describe the bug
Banning user with User_Controll plugin does not end/stop their livestream?
Everything else works within User_Controll

To Reproduce

  1. Go to '/users'
  2. Click on 'Ban' next to a user
  3. Click on 'Ban User'
  4. ????
  5. PROFIT

Expected behavior
I assume that the user's livestream would be interrupted/stopped too?

Error Logs
Line that I got from inside avideo.log file
[26-Aug-2020 17:21:56 UTC] AVideoLog::DEBUG: wget: ERROR the url does not download https://live-hel.suora.tv:444/control/drop/publisher?app=live&name=5f43d97947105, /var/www/vhosts/suora.tv/httpdocs/videos/cache/YPTurl_get_contents/a0455aaf8bc22052a4410b3a98b35a59 SCRIPT_NAME: /plugin/User_Controll/banUser.json.php

Screenshots
The url: https://live-hel.suora.tv:444/control/drop/publisher?app=live&name=5f43d97947105 shows just a number "0" ?
66s74x9X3

@Markus-web Markus-web added the bug label Aug 26, 2020
@Markus-web
Copy link
Author

Looks like I was a little impatient it works... but the stream on obs studio doesn't stop automatically unless the user itself closes their stream.

@DanielnetoDotCom
Copy link
Member

Hi, it will drop the connection, and if you ban the user it supposes to be inactive, so OBS will not be able to connect again

@akhilleusuggo
Copy link
Contributor

@DanielnetoDotCom I don't think it will drop the connection if the server is hosted on another server . Maybe should be a force on updating the key stream .

@DanielnetoDotCom
Copy link
Member

I did not test on the live on another server.

@Markus-web
Copy link
Author

The stream server and Avideo are hosted on different servers.
When banning user it does not drop the current connection to the stream server. As @akhilleusuggo said maybe if when banning the user stream key should reset too?

@akhilleusuggo
Copy link
Contributor

The stream key is not '' the real key '' . The stream key will drop the connection , but he may be able to stream again . The rtmp url is what should really change . But dropping the connection is necessary .

@DanielnetoDotCom
Copy link
Member

Inactivate the user is even better than changing the key.

and @akhilleusuggo is right dropping the connection is necessary.

Looks like the User_controll is not ready for the external live servers yet.

@stale
Copy link

stale bot commented Sep 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 25, 2020
@stale stale bot closed this as completed Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants