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

What is the "Offline-Poster" for? #4772

Closed
morbificagent opened this issue Mar 23, 2021 · 89 comments
Closed

What is the "Offline-Poster" for? #4772

morbificagent opened this issue Mar 23, 2021 · 89 comments
Labels

Comments

@morbificagent
Copy link

morbificagent commented Mar 23, 2021

Hi together, Hi Daniel,

last time i asked you to make it possible to hide the offline badge on the upper left of the live-streams and you made it possible. THX for that.

But one Offline-Message is left in form of the "poster-image" on the start-screen:

image

Is it possible to get rid of this too and use the "On-Air" (red on grey) image instead as default?

And in generally i dont understand what is it for?

When im Offline and not streaming there is no entry on the start-page.
When im Online and streaming it creates an entry on the start-page.

-> How should i send a stream while im offline like the picture says !?!?

The only situation i could imagine where this Offline-Poster would be helpful is when a running stream ended and the users are furthermore on the stream-site.... then they could see that the stream has ended.
But especially in THIS situation this Offline-Poster ISN'T shown and a rotating circle remains there:

image

@DanielnetoDotCom
Copy link
Member

We had a problem detecting if the live was online. it may be fixed already

@morbificagent
Copy link
Author

morbificagent commented Mar 23, 2021

No im sorry but with the git pull from half an hour ago its the same...

And like i said: For what should this be as it only confuses the User!? I would change this scaring "OFFLINE" Poster to the "ON AIR" Poster (red on grey) you are using in other parts. So the user isnt such confused!

@DanielnetoDotCom
Copy link
Member

if it is offline it does not even suppose to have a poster.
on-air appears only while we are trying to extract the live image

@morbificagent
Copy link
Author

And for what is the OFFLINE Poster shown at the top of this thread?

@DanielnetoDotCom
Copy link
Member

DanielnetoDotCom commented Mar 23, 2021

this warn us something is wrong

that is what I mean, it does not suppose to appear.

@morbificagent
Copy link
Author

But is this a info that the visitors of the page should see?

I understand it but such a message "something is wrong" should be a log-entry or eventually insight of the "Live Control Panel" where the streamer configures his stream. But in front of the Mainpage???

@DanielnetoDotCom
Copy link
Member

Just sent an update

@guymass
Copy link

guymass commented Mar 23, 2021

so I now did a new git clone to a separate folder and then copied it to my site folder. I have fully updated system. Was trying to stream and still I get the offline message. I will post on any changes or new log info.

@guymass
Copy link

guymass commented Mar 23, 2021

This could have something maybe todo with the cookies. I keep getting the request to agree every hour or so even though I am logged in already. I put a large number on the session time. It seems like my session keeps resetting every once in a while.

@DanielnetoDotCom
Copy link
Member

are you using the adaptive?

also I just sent new updates

@morbificagent
Copy link
Author

Its adaptive here, yes

@DanielnetoDotCom
Copy link
Member

@morbificagent please update again

@guymass
Copy link

guymass commented Mar 23, 2021

yes I use adaptive but only HD and SD

@guymass
Copy link

guymass commented Mar 23, 2021

Still same...

Screen Shot 5781-07-10 at 23 33 25

23-Mar-2021 23:33:22 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/40?page=37&page=40&page=42) FROM: 66.249.66.82 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:26 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/17?page=12&page=41&page=20) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:27 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:33:28 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=43&page=52&page=50) FROM: 66.249.66.80 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:30 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/116?page=115&page=114&page=114&page=110&page=118) FROM: 66.249.66.84 Browser: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:32 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:33:37 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/117?page=17&page=58&page=21) FROM: 66.249.66.84 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:38 Asia/Jerusalem] PHP Notice: Trying to access array offset on value of type null in /var/www/html/AVideo/objects/video.php on line 1515
[23-Mar-2021 23:33:38 Asia/Jerusalem] PHP Notice: Trying to access array offset on value of type null in /var/www/html/AVideo/objects/video.php on line 1515
[23-Mar-2021 23:33:38 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:33:40 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/29?page=116&page=28&page=35) FROM: 66.249.66.80 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:42 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/41?page=117&page=42&page=40) FROM: 66.249.66.82 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:43 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:33:44 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/69?page=64&page=69&page=72) FROM: 66.249.66.85 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:46 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=116&page=6&page=12) FROM: 66.249.66.82 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:49 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:33:51 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/47?page=42&page=43&page=48) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:33:53 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/39?page=40&page=41&page=42) FROM: 66.249.66.85 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php

[23-Mar-2021 23:34:13 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser(11) = false SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:13 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser(11) = false SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:14 Asia/Jerusalem] PHP Notice: Trying to access array offset on value of type null in /var/www/html/AVideo/objects/video.php on line 1515
[23-Mar-2021 23:34:14 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser(11) = false SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:14 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser(11) = false SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:14 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser(11) = false SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:14 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser(11) = false SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:14 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser(11) = false SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:15 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/program/16576/102/weactlive/%D7%A9%D7%95%D7%93%D7%A8-%D7%9C%D7%90%D7%97%D7%A8%D7%95%D7%A0%D7%94/%D7%A6%D7%95-%D7%92%D7%99%D7%95%D7%A1-%D7%A2%D7%9D-%D7%93-quot-%D7%A8-%D7%97%D7%9F-%D7%99%D7%97%D7%96%D7%A7%D7%90%D7%9C%D7%99-%D7%A4%D7%A8%D7%95%D7%A4-039-%D7%99%D7%95%D7%A1%D7%A3-%D7%90%D7%92%D7%A1%D7%99-13-on-20-jan-21-12-31-54) FROM: 54.36.148.234 Browser: Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:15 Asia/Jerusalem] AVideoLog::DEBUG: getPlayLiveButton: canManagePlaylist(16576) said no SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:16 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=6&page=13&rrating=g) FROM: 66.249.66.81 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:16 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:34:17 Asia/Jerusalem] PHP Notice: Trying to access array offset on value of type null in /var/www/html/AVideo/objects/video.php on line 1515
[23-Mar-2021 23:34:18 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/12?page=12&page=11&page=15&page=15&page=14&rrating=0) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:21 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=56&page=60&page=59) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:22 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:34:26 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=85&page=79&page=77&page=86&page=84) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:27 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=50&page=50&page=52) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:27 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:34:28 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=105&page=108&rrating=ma) FROM: 66.249.66.81 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:29 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/) FROM: 74.120.14.54 Browser: SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:29 Asia/Jerusalem] AVideoLog::DEBUG: Live::get_data(http://live.ahava528.com:8444/stat, 4) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:29 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: Start http://live.ahava528.com:8444/stat, , 4 http://178.162.220.42:80/view/ 74.120.14.54 [{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":662,"function":"url_get_contents","args":["http://live.ahava528.com:8444/stat","","4",true]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":629,"function":"get_data","class":"Live","object":{},"type":"->","args":["http://live.ahava528.com:8444/stat","4"]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":1039,"function":"getStatsObject","class":"Live","object":{},"type":"->","args":[0]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":861,"function":"_getStats","class":"Live","type":"::","args":[0]},{"file":"/var/www/html/AVideo/objects/functions.php","line":5959,"function":"getStats","class":"Live","type":"::","args":[]},{"file":"/var/www/html/AVideo/plugin/Live/view/menuRight.php","line":402,"function":"getStatsNotifications","args":[]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":49,"args":["/var/www/html/AVideo/plugin/Live/view/menuRight.php"],"function":"include"},{"file":"/var/www/html/AVideo/plugin/AVideoPlugin.php","line":238,"function":"getHTMLMenuRight","class":"Live","object":{},"type":"->","args":[]},{"file":"/var/www/html/AVideo/view/include/navbar.php","line":421,"function":"getHTMLMenuRight","class":"AVideoPlugin","type":"::","args":[]},{"file":"/var/www/html/AVideo/plugin/Gallery/view/modeGallery.php","line":14,"args":["/var/www/html/AVideo/view/include/navbar.php"],"function":"include"},{"file":"/var/www/html/AVideo/view/index.php","line":30,"args":["/var/www/html/AVideo/plugin/Gallery/view/modeGallery.php"],"function":"require"}] SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:29 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: allow_url_fopen http://live.ahava528.com:8444/stat SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:29 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: SUCCESS file_get_contents(http://live.ahava528.com:8444/stat) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:29 Asia/Jerusalem] AVideoLog::DEBUG: Live::getStats(0) 1 SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:30 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=49&page=53&page=47) FROM: 66.249.66.82 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:31 Asia/Jerusalem] AVideoLog::DEBUG: Live::get_data(http://live.ahava528.com:8444/stat, 4) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:31 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: Start http://live.ahava528.com:8444/stat, , 4 http://178.162.220.42/view/ 74.120.14.54 [{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":662,"function":"url_get_contents","args":["http://live.ahava528.com:8444/stat","","4",true]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":629,"function":"get_data","class":"Live","object":{},"type":"->","args":["http://live.ahava528.com:8444/stat","4"]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":1039,"function":"getStatsObject","class":"Live","object":{},"type":"->","args":[0]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":861,"function":"_getStats","class":"Live","type":"::","args":[0]},{"file":"/var/www/html/AVideo/objects/functions.php","line":5959,"function":"getStats","class":"Live","type":"::","args":[]},{"file":"/var/www/html/AVideo/plugin/Live/view/menuRight.php","line":402,"function":"getStatsNotifications","args":[]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":49,"args":["/var/www/html/AVideo/plugin/Live/view/menuRight.php"],"function":"include"},{"file":"/var/www/html/AVideo/plugin/AVideoPlugin.php","line":238,"function":"getHTMLMenuRight","class":"Live","object":{},"type":"->","args":[]},{"file":"/var/www/html/AVideo/view/include/navbar.php","line":421,"function":"getHTMLMenuRight","class":"AVideoPlugin","type":"::","args":[]},{"file":"/var/www/html/AVideo/plugin/Gallery/view/modeGallery.php","line":14,"args":["/var/www/html/AVideo/view/include/navbar.php"],"function":"include"},{"file":"/var/www/html/AVideo/view/index.php","line":30,"args":["/var/www/html/AVideo/plugin/Gallery/view/modeGallery.php"],"function":"require"}] SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:31 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: allow_url_fopen http://live.ahava528.com:8444/stat SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:31 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: SUCCESS file_get_contents(http://live.ahava528.com:8444/stat) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:31 Asia/Jerusalem] AVideoLog::DEBUG: Live::getStats(0) 1 SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:34:33 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:34:33 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=7&page=7&page=108&page=2) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php

[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::ERROR: sendSocketMessage SCRIPT_NAME: /plugin/Live/on_publish_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification SocketMessageToAll END SCRIPT_NAME: /plugin/Live/on_publish_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: LoginControl::createLog /plugin/Live/on_record_done.php [{"file":"/var/www/html/AVideo/plugin/LoginControl/LoginControl.php","line":87,"function":"createLog","class":"LoginControl","type":"::","args":[3]},{"file":"/var/www/html/AVideo/plugin/AVideoPlugin.php","line":1150,"function":"onUserSignIn","class":"LoginControl","object":{},"type":"->","args":[3]},{"file":"/var/www/html/AVideo/objects/user.php","line":863,"function":"onUserSignIn","class":"AVideoPlugin","type":"::","args":[3]},{"file":"/var/www/html/AVideo/plugin/SendRecordedToEncoder/SendRecordedToEncoder.php(18) : eval()'d code(1) : eval()'d code","line":76,"function":"login","class":"User","object":{},"type":"->","args":[true]},{"file":"/var/www/html/AVideo/plugin/Live/on_record_done.php","line":8,"function":"on_record_done","class":"SendRecordedToEncoder","object":{},"type":"->","args":[]}] SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: Video::save (בדיקת שידור לייב on 23-Mar-21-23:33:18) Saved id = 1 SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: Video:clearCache(3110) SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: deleteVideoTags getVideoTags3110 SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: ObjectYPT::setLastDeleteALLCacheTime /var/www/html/AVideo/videos/cache/lastDeleteALLCacheTime.cache SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: on_record_done Success: video saved on ID 3110 SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::ERROR: Could not connect: Connection closed before handshake ws://live.ahava528.com:2053?webSocketToken=VDRnN0ZWOGVuTFhIalZyemRnQVBMRnBtQW91aVJoZXZFd1VUanIzOGVZK2o3a3FLVC8zM0QxTExyQ0RsVnNmbm0xVTN2QmwxUXlRVTJpUWhxM0xxcnRyakZaa2I3VWNUSlV2YW1YMXYvN1RBVWRhYUVGekZDd0VsM25DY0xhVU9oQWxhRHdOcTBmNTlQTzl6Wjh0SmdZVWVJRjdVUk5hcmFDMUl2VzJyNkFVUCtwcVJGUDkxdjlkcHJyY2ppbUxkRXBGeHZSZnNoQ1BaNUdrVFlPcHNyNGlndzlhYTQ3cnN4Q3F3TmpsaU5xRE4zMWxZNTM2bFIzOEVYRDROaXkxQTBLUm9yUG8zdHJSQ3ZTNER1WXBEVDRZZ29qTlhIeEtZeklLRW5SRFh3VXNPb1F5RWZMOWFFc3BHV0JrWjdMZC9peVlPaUg5dnkzei9GeXdvYWVTY0RoS2hqa2xkUlRienB4UVdwWCtlak1LS0dmM0dnSmNubnA1cEJTS2dEd2JNT2VPQnV3NXpKSGNxdTVTaHZqcjdCK2V0c0REc0gzRUhhS2xtbXFrQkpHcVBWcVArcFNnWlJ6ZmdHNUZqTWF1VGwwK0VpN0tIeHhIL05FV3lRbytHcGFaNXllQkhmRmV5elJ2bzN3cjIrU0NYWDgzVFpDenpNTjlhMHZTUVpHNUdNWGxJZ2hvKzM3SUlnNWdzc2c2UlFvUzgrMXFEcS9tcVMwbHF4N0VOeVBsTHhla21XYkNXU3BhbS8wY1hINlFVZEhpQ0NqaDNNb1dMM1dLTlZoa2F4VTkzaTRGcWpOWXpxMFlhNUxSMDI4NE45MlNFdGJKQmVnR3hENElxR2NCT29ycGpqcnNkY3g1SFpwSkMzZFFpcjUwTWFFZFZMK29PRXgydGwwdkhLUytaSmxtZUFjMVdZSDdBN2FiNnhtTHU3U0kwc2lnZUlBTGVCT1VUREJEaytSc3NkUDltdDducVVDMEpncU56VnhZPQ==&isCommandLine=1 SCRIPT_NAME: /plugin/Live/on_publish_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: SEND To QUEUE: (https://live.ahava528.com/Encoder/queue) {"user":"streamer","pass":"2d0e45a81a99374adb052c0764b01f2a","fileURI":"https://live.ahava528.com/videos/original_on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602","filename":"on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602","videos_id":3110,"notifyURL":"https://live.ahava528.com/"} SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: Cache::isREQUEST_URIWhitelisted: (/login) is whitelisted SCRIPT_NAME: /objects/login.json.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: Start Login Request SCRIPT_NAME: /objects/login.json.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: redirectUri: SCRIPT_NAME: /objects/login.json.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: same redirectUri: https://live.ahava528.com/ SCRIPT_NAME: /objects/login.json.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: LoginControl::createLog /objects/login.json.php [{"file":"/var/www/html/AVideo/plugin/LoginControl/LoginControl.php","line":87,"function":"createLog","class":"LoginControl","type":"::","args":[3]},{"file":"/var/www/html/AVideo/plugin/AVideoPlugin.php","line":1150,"function":"onUserSignIn","class":"LoginControl","object":{},"type":"->","args":[3]},{"file":"/var/www/html/AVideo/objects/user.php","line":863,"function":"onUserSignIn","class":"AVideoPlugin","type":"::","args":[3]},{"file":"/var/www/html/AVideo/objects/login.json.php","line":194,"function":"login","class":"User","object":{},"type":"->","args":[false,"1"]}] SCRIPT_NAME: /objects/login.json.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: Login_control::getStart Login from encoder, do not do anything SCRIPT_NAME: /plugin/CustomizeAdvanced/advancedCustom.json.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: QUEUE CURL: (https://live.ahava528.com/Encoder/queue) {"error":false,"response":"1712"} SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:54 Asia/Jerusalem] AVideoLog::DEBUG: on_record_done END SCRIPT_NAME: /plugin/Live/on_record_done.php
[23-Mar-2021 23:35:55 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/31?page=116&page=40&page=38) FROM: 66.249.66.88 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:35:56 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=117&page=52&page=50) FROM: 66.249.66.91 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:35:56 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: Cache::isREQUEST_URIWhitelisted: (aVideoEncoder) is whitelisted SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: LoginControl::createLog /objects/aVideoEncoderReceiveImage.json.php [{"file":"/var/www/html/AVideo/plugin/LoginControl/LoginControl.php","line":87,"function":"createLog","class":"LoginControl","type":"::","args":[3]},{"file":"/var/www/html/AVideo/plugin/AVideoPlugin.php","line":1150,"function":"onUserSignIn","class":"LoginControl","object":{},"type":"->","args":[3]},{"file":"/var/www/html/AVideo/objects/user.php","line":863,"function":"onUserSignIn","class":"AVideoPlugin","type":"::","args":[3]},{"file":"/var/www/html/AVideo/objects/aVideoEncoderReceiveImage.json.php","line":23,"function":"login","class":"User","object":{},"type":"->","args":[false,true]}] SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: ReceiveImage: Start receiving image {"image":{"name":"1712tmpFile.mp4.jpg","type":"application/octet-stream","tmp_name":"/tmp/phpltpAuB","error":0,"size":12443},"gifimage":{"name":"1712tmpFile.mp4.gif","type":"application/octet-stream","tmp_name":"/tmp/phpkcKJ6A","error":0,"size":1943},"webpimage":{"name":"1712tmpFile.mp4.webp","type":"application/octet-stream","tmp_name":"/tmp/phpCkeZ1C","error":0,"size":14864}}{"duration":"0:02:34","videos_id":3110,"user":"streamer","password":"2d0e45a81a99374adb052c0764b01f2a","redirectUri":""} SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: ReceiveImage: Encoder receiving post {"image":{"name":"1712tmpFile.mp4.jpg","type":"application/octet-stream","tmp_name":"/tmp/phpltpAuB","error":0,"size":12443},"gifimage":{"name":"1712tmpFile.mp4.gif","type":"application/octet-stream","tmp_name":"/tmp/phpkcKJ6A","error":0,"size":1943},"webpimage":{"name":"1712tmpFile.mp4.webp","type":"application/octet-stream","tmp_name":"/tmp/phpCkeZ1C","error":0,"size":14864}} SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: Video::save (בדיקת שידור לייב on 23-Mar-21-23:33:18) Saved id = 1 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: Video:clearCache(3110) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: deleteVideoTags getVideoTags3110 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: ObjectYPT::setLastDeleteALLCacheTime /var/www/html/AVideo/videos/cache/lastDeleteALLCacheTime.cache SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: Video:clearCache(3110) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: deleteVideoTags getVideoTags3110 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: ObjectYPT::setLastDeleteALLCacheTime /var/www/html/AVideo/videos/cache/lastDeleteALLCacheTime.cache SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: getUsageFromFilename: /var/www/html/AVideo/videos/original_on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602 is File (49673256) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: getUsageFromFilename: /var/www/html/AVideo/videos/on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602.jpg is File (12443) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: getUsageFromFilename: /var/www/html/AVideo/videos/on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602.gif is File (1943) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: getUsageFromFilename: /var/www/html/AVideo/videos/on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602.webp is File (14864) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: Video::save (בדיקת שידור לייב on 23-Mar-21-23:33:18) Saved id = 1 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: Video:clearCache(3110) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: deleteVideoTags getVideoTags3110 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: ObjectYPT::setLastDeleteALLCacheTime /var/www/html/AVideo/videos/cache/lastDeleteALLCacheTime.cache SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: updateFilesize: videos_id=3110 filename=on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602 filesize=49702506 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:57 Asia/Jerusalem] AVideoLog::DEBUG: ReceiveImage: Files Received for video 3110: בדיקת שידור לייב on 23-Mar-21-23:33:18 {"error":false,"video_id":3110,"jpgDest":"/var/www/html/AVideo/videos/on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602.jpg","jpgDestSize":"12.15KB","gifDest":"/var/www/html/AVideo/videos/on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602.gif","gifDestSize":"1.90KB","webpDest":"/var/www/html/AVideo/videos/on23Mar21233318_YPTuniqid_605a5f3a696d35.07419602.webp","webpDestSize":"14.52KB"} SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[23-Mar-2021 23:35:58 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=44&page=41&page=42) FROM: 66.249.66.80 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:35:59 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/65?page=56&page=61&page=64) FROM: 66.249.66.85 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:00 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/12?page=12&page=41&page=20) FROM: 66.249.66.87 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:01 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:36:03 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/69?page=117&page=63&page=70) FROM: 66.249.66.84 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:03 Asia/Jerusalem] PHP Notice: Undefined offset: 1 in /var/www/html/AVideo/objects/functions.php on line 689
[23-Mar-2021 23:36:03 Asia/Jerusalem] PHP Notice: Undefined offset: 1 in /var/www/html/AVideo/objects/functions.php on line 689
[23-Mar-2021 23:36:04 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/59?page=59&page=58&type=all) FROM: 66.249.66.83 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:06 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/69?page=117&page=69&page=72) FROM: 66.249.66.85 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:07 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:36:08 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=115&page=114&page=114&page=110&page=118) FROM: 66.249.66.85 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:10 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=9&page=7&rrating=ma) FROM: 66.249.66.80 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:12 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5.125) active_connections = (41) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:36:13 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/10?page=9&page=1&rrating=pg) FROM: 66.249.66.84 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:14 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/44?page=44&page=44&page=43) FROM: 66.249.66.82 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:18 Asia/Jerusalem] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/userGetPhoto.php
[23-Mar-2021 23:36:18 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=116&page=57&page=11) FROM: 66.249.66.80 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) SCRIPT_NAME: /view/index.php
[23-Mar-2021 23:36:22 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/page/165?page=56&page=61&page=64) FROM: 66.249.66.80 Browser: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build

@morbificagent
Copy link
Author

Because of #4775 its hard for me to track..

@DanielnetoDotCom
Copy link
Member

@morbificagent I do not see a problem with your sockets

please update again

@guymass
Copy link

guymass commented Mar 23, 2021

Screen Shot 5781-07-11 at 0 08 49
Screen Shot 5781-07-11 at 0 08 06

@morbificagent
Copy link
Author

No change... in the moment of starting the stream i am informed via socket (even with all my socket-error-log-entries).
The Stream is poping up on the site and its working.

Reloading the site or even clicking on some element which results in a side-change deletes all information of a running stream like on the last screenshots on #4775

@guymass
Copy link

guymass commented Mar 23, 2021

BTW I have on this server two domains, how would I run this command to allow YPTSocket to run for both sites.
sudo nohup php /var/www/html/AVideo/plugin/YPTSocket/server.php &

because the first site will already occupy port 2053. The second site is not streaming or using the RTMP at all, something I wish to fix by moving the RTMP server to a separate server and allowing both sites to use the same RTMP for streaming.

@morbificagent
Copy link
Author

@guymass sorry but could you open another thread for this so we can stay focused here?

@guymass
Copy link

guymass commented Mar 23, 2021

Daniel closed my thread and moved it here, because we have the same issue and I think maybe that YPTSocket could also be part of the issue, so sorry. I will try to keep it focused on our OFFLINE issue.

@DanielnetoDotCom
Copy link
Member

@morbificagent I do not think this issue has anything to do with sockets.
I guess it is something regarding the adaptive/nonadaptive mode.

can you guys please share the parameters from the live plugin?

@morbificagent
Copy link
Author

image
image

@peterflitz
Copy link

peterflitz commented Mar 23, 2021

is not wirking, no obs, no meet.

daniel, maybe the problem is here?

update 4a691a46f ..687b7515c
-->> plugin/Live/on_publish_done.php

@DanielnetoDotCom
Copy link
Member

Thanks @morbificagent

What do you have to look at is ...

You MUST have something here, otherwise, you will have no notification
your stats.json.php is empty but I can see you have something here, It can be a cache issue try to clear and see if makes any difference.

if does not make any difference check your streamer logs maybe your streamer could no access the https://meet.bit-link.de/stats page

@DanielnetoDotCom
Copy link
Member

is not wirking, no obs, no meet.

daniel, maybe the problem is here?

update 4a691a46f ..687b7515c
-->> plugin/Live/on_publish_done.php

Do you have on_publish_done in your nginx.conf?

@DanielnetoDotCom
Copy link
Member

@guymass try this

@guymass
Copy link

guymass commented Mar 24, 2021

:( why me... still nothing, here is some of the log:

[24-Mar-2021 23:11:33 Asia/Jerusalem] AVideoLog::DEBUG: wget Start (wget --tries=1 http://live.ahava528.com:8443/stat -O /var/www/html/AVideo/videos/cache/YPTurl_get_contents/dec547bb02dd107b2eb901904bc02cc6 --no-check-certificate) SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:11:33 Asia/Jerusalem] AVideoLog::DEBUG: wget: ERROR the url download but is empty http://live.ahava528.com:8443/stat, /var/www/html/AVideo/videos/cache/YPTurl_get_contents/dec547bb02dd107b2eb901904bc02cc6 SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:11:33 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: wget success http://live.ahava528.com:8443/stat SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:11:33 Asia/Jerusalem] AVideoLog::ERROR: Live::getStatsObject RTMP Server (http://live.ahava528.com:8443/stat) is OFFLINE, timeout=(4) we could not connect on it => live_servers_id = (0) SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:11:33 Asia/Jerusalem] AVideoLog::DEBUG: Live::getStats(0) 1 SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:11:33 Asia/Jerusalem] AVideoLog::DEBUG: Live::createStatsCache {"bytes":155,"cachefile":"/var/www/html/AVideo/videos/cache/YPTObjectCache/getstats/getstatsnotifications/live.ahava528.com/https/getStats/getStatsNotificationsa34db68754d32b7a5dec7eddb7768b0d.cache"} SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:12:08 Asia/Jerusalem] AVideoLog::DEBUG: Warning: Slow process detected [video::getAllVideos foreach] On Line 1223 takes 0.8858 seconds to complete, Limit (0.7). /var/www/html/AVideo/view/channel.php SCRIPT_NAME: /view/channel.php

Screen Shot 5781-07-11 at 23 14 08

@DanielnetoDotCom
Copy link
Member

did you add the hosts entry for live.ahava528.com?

Looks like your server cannot connect to http://live.ahava528.com:8443/stat

@guymass
Copy link

guymass commented Mar 24, 2021

like this
127.0.0.1 live.ahava528.com

@DanielnetoDotCom
Copy link
Member

yes

@guymass
Copy link

guymass commented Mar 24, 2021

I tried it it didn't work. I have to say we use to IP addresses on is set for the RTMP and one is for the main site. I am not sure if this is important but it was working for us before. I tried also setting the hosts to point to the correct IP, but also this shows the same error.

@DanielnetoDotCom
Copy link
Member

so try to use the IP

http://127.0.0.1:8443/stat

@guymass
Copy link

guymass commented Mar 24, 2021

Nope, it will not work on 127.0.0.1. I probably need to change the whole nginx configuration to have it running on this IP. I have everything already setup pretty well, and the whole point of using separate IP for the encoder to reduce load. Currently I can stream and the post is being created just fine, its just the notification on front page not showing. Very strange.

@guymass
Copy link

guymass commented Mar 24, 2021

24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: NGINX ON Publish success SCRIPT_NAME: /plugin/Live/on_publish.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Live::deleteStatsCache [/var/www/html/AVideo/videos/cache/YPTObjectCache/getstats/] SCRIPT_NAME: /plugin/Live/on_publish.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Live::deleteStatsCache [/var/www/html/AVideo/videos/cache/YPTObjectCache/getstats/] Success SCRIPT_NAME: /plugin/Live/on_publish.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: NGINX Live::on_publish start SCRIPT_NAME: /plugin/Live/on_publish.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Live:restream (https://live.ahava528.com/plugin/Live/standAloneFiles/restreamer.json.php) {"m3u8":"https://live.ahava528.com:8443/live/60180f42a4efa.m3u8","restreamerURL":"https://live.ahava528.com/plugin/Live/standAloneFiles/restreamer.json.php","restreamsDestinations":[],"token":"WWtoY0NvR2FZYU5QUThtcXhQb0FPMXRhYW13VmY3anpiVFRuaG55eEdCeHk3U2l5QWFhL1pjZUpidWpwSEN3NGZQMGFxMjZqbjJMV0wwNXJvSGU5YUE9PQ==","users_id":3} SCRIPT_NAME: /plugin/Live/on_publish.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Cache::isREQUEST_URIWhitelisted: (restreamer.json.php) is whitelisted SCRIPT_NAME: /plugin/Live/standAloneFiles/restreamer.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] Restreamer.json.php start
[24-Mar-2021 23:56:27 Asia/Jerusalem] Restreamer.json.php php://input {"m3u8":"https://live.ahava528.com:8443/live/60180f42a4efa.m3u8","restreamerURL":"https://live.ahava528.com/plugin/Live/standAloneFiles/restreamer.json.php","restreamsDestinations":[],"token":"WWtoY0NvR2FZYU5QUThtcXhQb0FPMXRhYW13VmY3anpiVFRuaG55eEdCeHk3U2l5QWFhL1pjZUpidWpwSEN3NGZQMGFxMjZqbjJMV0wwNXJvSGU5YUE9PQ==","users_id":3}
[24-Mar-2021 23:56:27 Asia/Jerusalem] Restreamer.json.php ERROR There are no restreams Destinations
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: NGINX Live::on_publish end SCRIPT_NAME: /plugin/Live/on_publish.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Live::getStatsObject (http://live.ahava528.com:8443/stat) (4) [{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":1055,"function":"getStatsObject","class":"Live","object":{},"type":"->","args":[0]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":862,"function":"_getStats","class":"Live","type":"::","args":[0]},{"file":"/var/www/html/AVideo/objects/functions.php","line":5978,"function":"getStats","class":"Live","type":"::","args":[]},{"file":"/var/www/html/AVideo/plugin/Live/stats.json.php","line":23,"function":"getStatsNotifications","args":[]}] SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Live::get_data(http://live.ahava528.com:8443/stat, 4) SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: Start http://live.ahava528.com:8443/stat, , 4 https://live.ahava528.com/plugin/Live/stats.json.php?Menu 213.57.226.226 [{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":663,"function":"url_get_contents","args":["http://live.ahava528.com:8443/stat","","4",true]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":630,"function":"get_data","class":"Live","object":{},"type":"->","args":["http://live.ahava528.com:8443/stat","4"]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":1055,"function":"getStatsObject","class":"Live","object":{},"type":"->","args":[0]},{"file":"/var/www/html/AVideo/plugin/Live/Live.php","line":862,"function":"getStats","class":"Live","type":"::","args":[0]},{"file":"/var/www/html/AVideo/objects/functions.php","line":5978,"function":"getStats","class":"Live","type":"::","args":[]},{"file":"/var/www/html/AVideo/plugin/Live/stats.json.php","line":23,"function":"getStatsNotifications","args":[]}] SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: allow_url_fopen http://live.ahava528.com:8443/stat SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: ERROR file_get_contents(http://live.ahava528.com:8443/stat) SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: Nothing yet http://live.ahava528.com:8443/stat SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: try wget /var/www/html/AVideo/videos/cache/YPTurl_get_contents/dec547bb02dd107b2eb901904bc02cc6 http://live.ahava528.com:8443/stat SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: wget Start (wget --tries=1 http://live.ahava528.com:8443/stat -O /var/www/html/AVideo/videos/cache/YPTurl_get_contents/dec547bb02dd107b2eb901904bc02cc6 --no-check-certificate) SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: wget: ERROR the url download but is empty http://live.ahava528.com:8443/stat, /var/www/html/AVideo/videos/cache/YPTurl_get_contents/dec547bb02dd107b2eb901904bc02cc6 SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: url_get_contents: wget success http://live.ahava528.com:8443/stat SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::ERROR: Live::getStatsObject RTMP Server (http://live.ahava528.com:8443/stat) is OFFLINE, timeout=(4) we could not connect on it => live_servers_id = (0) SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Live::getStats(0) 1 SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Live::createStatsCache {"bytes":155,"cachefile":"/var/www/html/AVideo/videos/cache/YPTObjectCache/getstats/getstatsnotifications/live.ahava528.com/https/getStats/getStatsNotificationsa34db68754d32b7a5dec7eddb7768b0d.cache"} SCRIPT_NAME: /plugin/Live/stats.json.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: Cache::isREQUEST_URIWhitelisted: (plugin/Live/on
) is whitelisted SCRIPT_NAME: /plugin/Live/on_play.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: NGINX ON Play POST: {"app":"live2","flashver":"LNX 9,0,124,2","swfurl":"","tcurl":"rtmp://178.162.220.42:1935/live2","pageurl":"","addr":"178.162.220.42","clientid":"6975","call":"play","name":"60180f42a4efa","start":"4294965296","duration":"0","reset":"0","redirectUri":""} SCRIPT_NAME: /plugin/Live/on_play.php
[24-Mar-2021 23:56:27 Asia/Jerusalem] AVideoLog::DEBUG: NGINX ON Play GET: [] SCRIPT_NAME: /plugin/Live/on_play.php
[24-Mar-2021 23:56:55 Asia/Jerusalem] AVideoLog::DEBUG: Warning: Slow process detected [video::getAllVideos foreach] On Line 1223 takes 0.9443 seconds to complete, Limit (0.7). /var/www/html/AVideo/view/index.php SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:56:55 Asia/Jerusalem] AVideoLog::DEBUG: Resize JPG /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249.jpg, /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249_thumbsV2.jpg SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:56:55 Asia/Jerusalem] AVideoLog::DEBUG: im_resizeV3: /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249.jpg, /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249_thumbsV2.jpg, 640, 360 SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:56:56 Asia/Jerusalem] AVideoLog::DEBUG: Resize Small JPG /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249.jpg, /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249_thumbsSmallV2.jpg SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:56:56 Asia/Jerusalem] AVideoLog::DEBUG: im_resizeV3: /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249.jpg, /var/www/html/AVideo/videos/_YPTuniqid_5fc9ebe54c4e32.10159249_thumbsSmallV2.jpg, 640, 360 SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:56:59 Asia/Jerusalem] AVideoLog::DEBUG: Bot Detected, NOT showing the cache (/program/18926/6/stopthecrime/5g_weapon/mark-steele-%F0%9F%93%B5-5g-is-not-for-control-its-for-something-else-watch-the-video-spread-the-word.-1) FROM: 54.36.148.7 Browser: Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/) SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:57:00 Asia/Jerusalem] AVideoLog::DEBUG: Warning: Slow process detected [video::getAllVideos foreach] On Line 1223 takes 0.9451 seconds to complete, Limit (0.7). /var/www/html/AVideo/view/index.php SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:57:00 Asia/Jerusalem] PHP Notice: Undefined variable: class in /var/www/html/AVideo/objects/functions.php on line 4915
[24-Mar-2021 23:57:01 Asia/Jerusalem] AVideoLog::DEBUG: Warning: Slow process detected [video::getAllVideos foreach] On Line 1223 takes 2.5469 seconds to complete, Limit (0.7). /var/www/html/AVideo/view/index.php SCRIPT_NAME: /view/index.php
[24-Mar-2021 23:57:03

@peterflitz
Copy link

I am not sure but:
guymass uses restreamer.
For me the problem is with "Ad a Live Link"
The problem of display / notification still exists here. ?
Both external streaming

@guymass
Copy link

guymass commented Mar 24, 2021

[25-Mar-2021 00:20:45 Asia/Jerusalem] AVideoLog::DEBUG: NGINX ON Publish parse_str: {"p":"73edeef8c4b2ff49611688e91bf2bb28"} SCRIPT_NAME: /plugin/Live/on_publish.php
[25-Mar-2021 00:20:45 Asia/Jerusalem] AVideoLog::DEBUG: NGINX ON Publish check if key exists (60511597ca413-000742) SCRIPT_NAME: /plugin/Live/on_publish.php
[25-Mar-2021 00:20:45 Asia/Jerusalem] AVideoLog::SECURITY: NGINX ON Publish error, Transmition name not found (60511597ca413-000742) SCRIPT_NAME: /plugin/Live/on_publish.php
[25-Mar-2021 00:20:45 Asia/Jerusalem] AVideoLog::DEBUG: NGINX ON Publish deciding ... SCRIPT_NAME: /plugin/Live/on_publish.php
[25-Mar-2021 00:20:45 Asia/Jerusalem] AVideoLog::SECURITY: NGINX ON Publish denied SCRIPT_NAME: /plugin/Live/on_publish.php
[25-Mar-2021 00:20:53 Asia/Jerusalem] AVideoLog::DEBUG: CustomizeUser::canShareVideosFromVideo canShareVideosFromUser() = false SCRIPT_NAME: /plugin/Live/index.php
[25-Mar-2021 00:20:53 Asia/Jerusalem] AVideoLog::DEBUG: isLiveFromKey: SCRIPT_NAME: /plugin/Live/index.php
[25-Mar-2021 00:20:53 Asia/Jerusalem] AVideoLog::DEBUG: m3u8: https://live.ahava528.com:8443/live/60180f42a4efa.m3u8 SCRIPT_NAME: /plugin/Live/index.php
[25-Mar-2021 00:20:53 Asia/Jerusalem] AVideoLog::DEBUG: is200: 1 SCRIPT_NAME: /plugin/Live/index.php
[25-Mar-2021 00:20:53 Asia/Jerusalem] AVideoLog::DEBUG: Live::deleteStatsCache [/var/www/html/AVideo/videos/cache/YPTObjectCache/getstats/] SCRIPT_NAME: /plugin/Live/index.php

@guymass
Copy link

guymass commented Mar 24, 2021

My Adaptive nginx conf:
rtmp {
access_log /var/log/nginx/rtmp_access.log;
server {
listen 178.162.xxx.xxx:1935;
chunk_size 4000;
#creates our "live" full-resolution HLS videostream from our incomi>
application live2 {
allow play all;
live on; #

		   interleave off;
		   meta on;
		   wait_key on;
		   wait_video on;
		idle_streams off;
		sync 300ms;
		session_relay on;
		allow publish all;
		allow play all;
		max_connections 1000;


            ## == DASH == ##
            dash off;
            # dash_nested on;
            # dash_path /var/livestream/dash;
            # dash_fragment 10s;
            # dash_playlist_length 60s;
            # dash_cleanup on;


	
on_publish http://live.ahava528.com/plugin/Live/on_publish.php;

guy added on_publish_done

on_publish_done http://live.ahava528.com/plugin/Live/on_publish_done.php;

on_play http://live.ahava528.com/plugin/Live/on_play.php;
on_record_done http://live.ahava528.com/plugin/Live/on_record_done.php;
    #ADAPTATIVE MODE
                        exec ffmpeg -i rtmp://178.162.xxx.xxx/live2/$name 
                            -c:a aac -strict -2 -b:a 128k -c:v libx264 -vf scale=-2:240 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -b:v 400k -maxrate 700k -bufsize 1200k -b:a 96k -r 20 -f hls -hls_time 6 -hls_list_size 0 -f flv rtmp://178.162.xxx.xxx/adaptive/$name_low  
                            -c:a aac -strict -2 -b:a 128k -c:v libx264 -vf scale=-2:480 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -b:v 1200k -maxrate 2100k -bufsize 2400k -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -f flv rtmp://178.162.xxx.xxx/adaptive/$name_mid  
                            -c:a aac -strict -2 -b:a 128k -c:v libx264 -vf scale=-2:720 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -b:v 2400k -maxrate 4200k -bufsize 100000k -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -f flv rtmp://178.162.xxx.xxx/adaptive/$name_hi;

                       recorder video{
                            record all;
                            record_path /var/www/tmp;
                            record_notify on;
                            record_max_size 2048M;
                            record_suffix -%d-%b-%y-%T.flv;
                        }
                }


            #ADAPTATIVE MODE
            application adaptive {
                live on;
                hls on;
                hls_type live; 
                #hls_fragment_naming system;
                hls_nested on;
                hls_path /HLS/ahava;
                hls_playlist_length 15m;
                hls_fragment 4s;

                # Guy adding configurations for tests
                hls_sync 100ms;
                hls_cleanup on;


                allow play all;
                allow publish 178.162.xxx.xxx;
                deny publish all;

                hls_variant _low BANDWIDTH=400000;
                hls_variant _mid BANDWIDTH=2100000;
                hls_variant _hi  BANDWIDTH=4200000;
            }
        }
}

@guymass
Copy link

guymass commented Mar 24, 2021

My server block:

server {
listen 178.162.xxx.xxx:8444;
server_name live.ahava528.com;
client_max_body_size 2048M;
location /live {
add_header 'Cache-Control' 'no-cache';
add_header 'Access-Control-Allow-Origin' '' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length';
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '
';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 204;
}
types {
application/vnd.apple.mpegurl m3u8;
}
alias /HLS/ahava;
}
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root /var/www/html;
}
location /control {
rtmp_control all;
}
location / {
root html;
index index.html index.htm;
}
location ~ .php$ {
include /etc/nginx/snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
}
server {
listen 178.162.xxx.xxx:8443 ssl;
ssl_certificate /etc/letsencrypt/live/live.ahava528.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/live.ahava528.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

server_name live.ahava528.com;   
client_max_body_size 2048M;
location /live {
        add_header 'Cache-Control' 'no-cache';
        add_header 'Access-Control-Allow-Origin' '*' always;
        add_header 'Access-Control-Expose-Headers' 'Content-Length';
        if ($request_method = 'OPTIONS') {
                add_header 'Access-Control-Allow-Origin' '*';
                add_header 'Access-Control-Max-Age' 1728000;
                add_header 'Content-Type' 'text/plain charset=UTF-8';
                add_header 'Content-Length' 0;
                return 204;
        }
        types {
                application/vnd.apple.mpegurl m3u8;
        }
        alias /HLS/ahava;
}
location /stat {
        rtmp_stat all;
        rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
        root /var/www/html;
}
location /control {
        rtmp_control all;
}    
location / {
        root   html;
        index  index.html index.htm;
}
	location ~ \.php$ {
		include /etc/nginx/snippets/fastcgi-php.conf;
	        fastcgi_pass unix:/run/php/php7.4-fpm.sock;                                        
	}

}

@guymass
Copy link

guymass commented Mar 24, 2021

My plugin config:

Screen Shot 5781-07-12 at 0 30 53

Screen Shot 5781-07-12 at 0 30 47

@guymass
Copy link

guymass commented Mar 24, 2021

Would Network Encoder have any effect on this issues? I am rally lost here, tried everything.

@DanielnetoDotCom
Copy link
Member

@guymass the only problem I can see is that your streamer cannot see the http://live.ahava528.com:8443/stat

Try to make a wget http://live.ahava528.com:8443/stat

If works it is something in your PHP configuration.

@guymass
Copy link

guymass commented Mar 25, 2021

I can wget http://live.ahava528.com:8444/stat however the page wont open, but I can open the page on port 8443 however wget http://live.ahava528.com:8443/stat will not work, strange ha!

@guymass
Copy link

guymass commented Mar 25, 2021

I see this when I was searching for some video, I suddenly showed me all those live stream tests and they are all set to the default category. Its like it still remembers them, idk.

Screen Shot 5781-07-12 at 20 57 24

@guymass
Copy link

guymass commented Mar 25, 2021

wget works! still not live!

Screen Shot 5781-07-12 at 22 20 29

@DanielnetoDotCom
Copy link
Member

Look at this ...

I run this code on my local computer and I could get your stats.

<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
echo htmlentities(file_get_contents('http://live.ahava528.com:8444/stat'));
?>

Create a .php file in your server and run it, check if it return the XML

image

@guymass
Copy link

guymass commented Mar 26, 2021

OK I found my problem with this, I have http running on port 8444 and because I set the url to https it wasn't working. Well now I set it properly and this work now on port 8444 however I still don't get live. It was showing it for 5 seconds and than it flipped back to OFFLINE status.

I see this message repeating.
[26-Mar-2021 15:54:57 Asia/Jerusalem] AVideoLog::DEBUG: Warning: Slow process detected [video::getAllVideos foreach] On Line 1223 takes 0.8837 seconds to complete, Limit (0.7). /var/www/html/AVideo/view/channel.php SCRIPT_NAME: /view/channel.php

And This:

[26-Mar-2021 15:53:56 Asia/Jerusalem] AVideoLog::ERROR: sendSocketMessage SCRIPT_NAME: /plugin/Live/on_publish_done.php
[26-Mar-2021 15:53:56 Asia/Jerusalem] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification SocketMessageToAll END SCRIPT_NAME: /plugin/Live/on_publish_done.php

@DanielnetoDotCom
Copy link
Member

Hi,

I just sent some updates for the live cache, can you please check?

@guymass
Copy link

guymass commented Mar 26, 2021

[27-Mar-2021 02:07:21 Asia/Jerusalem] AVideoLog::ERROR: sendSocketMessage SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[27-Mar-2021 02:07:21 Asia/Jerusalem] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification SocketMessageToAll END SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[27-Mar-2021 02:07:21 Asia/Jerusalem] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification end SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[27-Mar-2021 02:07:21 Asia/Jerusalem] PHP Notice: Undefined property: stdClass::$autoEvalCodeOnHTML in /var/www/html/AVideo/plugin/YPTSocket/Message.php on line 59

@guymass
Copy link

guymass commented Mar 27, 2021

We are going to test separating the RTMP to its own server, only installing the encoder. We want to point all streaming to it from all sites. Any suggestions? We hope this will take some stress off the main site allowing it to only deal with serving the video for viewing while the other server will deal with live streams. What do you think?

@DanielnetoDotCom
Copy link
Member

your socket server seems like is running, but is it connecting?

are you still not getting notifications right?

@guymass
Copy link

guymass commented Mar 27, 2021

Yes it seems to be working fine but I still don't see those notifications.
Screen Shot 5781-07-15 at 0 52 30

@guymass
Copy link

guymass commented Mar 27, 2021

Now I cannot even see my stream but when I stop streaming it will still create the file.
I see this on log:

Live::get_data(http://live.ahava528.com:8444/stat, 4)
function: _error_log_debug Line: {684} File: {/var/www/html/AVideo/plugin/Live/Live.php}
function: get_data Line: {650} File: {/var/www/html/AVideo/plugin/Live/Live.php}
function: getStatsObject Line: {1079} File: {/var/www/html/AVideo/plugin/Live/Live.php}
function: _getStats Line: {882} File: {/var/www/html/AVideo/plugin/Live/Live.php}
function: getStats Line: {1375} File: {/var/www/html/AVideo/plugin/Live/Live.php}
function: isKeyLiveInStats Line: {1464} File: {/var/www/html/AVideo/plugin/Live/Live.php}
function: isLiveAndIsReadyFromKey Line: {37} File: {/var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php}
*** SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[28-Mar-2021 00:58:55 Asia/Jerusalem] AVideoLog::DEBUG: Live::isLiveFromKey 60180f42a4efa-220739 JSON was not empty SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[28-Mar-2021 00:58:55 Asia/Jerusalem] AVideoLog::DEBUG: Live::isLiveFromKey is NOT online [60180f42a4efa-220739] SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[28-Mar-2021 00:58:55 Asia/Jerusalem] AVideoLog::DEBUG: isLiveAndIsReadyFromKey the key 60180f42a4efa-220739 is not present on the stats SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[28-Mar-2021 00:58:55 Asia/Jerusalem] AVideoLog::DEBUG: live is not ready [11] request again in 5 seconds (https://live.ahava528.com:8443/live/60180f42a4efa-220739.m3u8) SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[28-Mar-2021 00:58:55 Asia/Jerusalem] PHP Notice: Undefined property: stdClass::$autoEvalCodeOnHTML in /var/www/html/AVideo/plugin/YPTSocket/Message.php on line 59
[28-Mar-2021 00:59:00 Asia/Jerusalem] AVideoLog::DEBUG: Live::getStatsObject[0] 5: forced to be recreated SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[28-Mar-2021 00:59:00 Asia/Jerusalem] AVideoLog::DEBUG: Live::getStatsObject[0]: Creating a waitfile /var/www/html/AVideo/videos/cache/a84fdc425fca22fe1f87e4a7a8db29b9 SCRIPT_NAME: /var/www/html/AVideo/plugin/Live/on_publish_socket_notification.php
[28-Mar-2021 00:59:00 Asia/Jerusalem] AVideoLog::DEBUG:

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

4 participants