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

[Plugin Rebroadcaster + PlayLists + VideoHLS] ERROR Playlist #9585

Open
gbrn opened this issue Nov 13, 2024 · 2 comments
Open

[Plugin Rebroadcaster + PlayLists + VideoHLS] ERROR Playlist #9585

gbrn opened this issue Nov 13, 2024 · 2 comments
Labels

Comments

@gbrn
Copy link
Contributor

gbrn commented Nov 13, 2024

@DanielnetoDotCom Danny, I'm running tests to use the Rebroadcaster plugin. From what I understand, this plugin works dependently on the PlayLists and VideoHLS plugins.

When I click PLAY, it displays the error below:
image

ERROR:

array(4) { ["type"]=> int(1) ["message"]=> string(488) "Uncaught ArgumentCountError: Too few arguments to function VideoHLS::getToken(), 0 passed in /var/www/html/AVideo/plugin/PlayLists/PlayListElement.php on line 166 and exactly 1 expected in /var/www/html/AVideo/plugin/VideoHLS/VideoHLS.php(18) : eval()'d code(1) : eval()'d code:377 Stack trace: #0 /var/www/html/AVideo/plugin/PlayLists/PlayListElement.php(166): VideoHLS::getToken() #1 /var/www/html/AVideo/plugin/PlayLists/embed.php(121): playListSource->__construct() #2 {main} thrown" ["file"]=> string(88) "/var/www/html/AVideo/plugin/VideoHLS/VideoHLS.php(18) : eval()'d code(1) : eval()'d code" ["line"]=> int(377) }
array(4) {
  ["type"]=>
  int(1)
  ["message"]=>
  string(488) "Uncaught ArgumentCountError: Too few arguments to function VideoHLS::getToken(), 0 passed in /var/www/html/AVideo/plugin/PlayLists/PlayListElement.php on line 166 and exactly 1 expected in /var/www/html/AVideo/plugin/VideoHLS/VideoHLS.php(18) : eval()'d code(1) : eval()'d code:377
Stack trace:
#0 /var/www/html/AVideo/plugin/PlayLists/PlayListElement.php(166): VideoHLS::getToken()
#1 /var/www/html/AVideo/plugin/PlayLists/embed.php(121): playListSource->__construct()
#2 {main}
  thrown"
  ["file"]=>
  string(88) "/var/www/html/AVideo/plugin/VideoHLS/VideoHLS.php(18) : eval()'d code(1) : eval()'d code"
  ["line"]=>
  int(377)
}
array(1) {
  [0]=>
  array(2) {
    ["function"]=>
    string(14) "avideoShutdown"
    ["args"]=>
    array(0) {
    }
  }
}

ArgumentCountError, which indicates that the VideoHLS::getToken() function is being called with no arguments, but is defined to receive a required argument.

@DanielnetoDotCom
Copy link
Member

You are right, please try this update

@gbrn
Copy link
Contributor Author

gbrn commented Nov 14, 2024

@DanielnetoDotCom The reported errors are now resolved. I continue testing the Rebroadcaster Plugin.

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

No branches or pull requests

2 participants