WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.91k stars 972 forks source link

I am not able to get live stream to work. nginx stats says there is a live stream but I don't see it in AVideo #8894

Open gregk63 opened 8 months ago

gregk63 commented 8 months ago

Describe the bug I am not able to get live stream to work. nginx stats says there is a live stream but I don't see it in AVideo

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Access to the LiveStream

Error Logs Provide the log files at the moment you found the issue. If you are not sure how to find the log file, please check here https://github.com/WWBN/AVideo/wiki/How-to-find-errors-on-AVideo-Platform

Screenshots https://snipboard.io/S7Xl9n.jpg https://snipboard.io/mXNJq0.jpg https://snipboard.io/BgclIQ.jpg

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

DanielnetoDotCom commented 8 months ago

https://github.com/WWBN/AVideo/issues/6970#issuecomment-1216725011

gregk63 commented 8 months ago

I got a little further after using the ip address in the nginx config.

https://snipboard.io/pbLfBU.jpg

gregk63 commented 8 months ago

I am now seeing Coming Soon but the Live stream never starts. What does Coming Soon mean? https://snipboard.io/i6J5M3.jpg

Please help! I can pay if need be.

DanielnetoDotCom commented 8 months ago

I am not sure why you have it

Was this a scheduled live?

Partial installation is complicated and I cannot guarantee

If you want the best would be a basic clean installation

Any way check your logs and try to find some clues

gregk63 commented 8 months ago

It isn't a scheduled live.

Can I do a clean installation for just Live Streaming? Everything else is functioning fine and I would hate to have to recreate it.

DanielnetoDotCom commented 8 months ago

We can try a live reinstallation but I still cannot guarantee because for now I am not sure what is causing the issue

gregk63 commented 8 months ago

I can do it if you can provide the steps.

gregk63 commented 8 months ago

Here is a chunk of the log during the last time I tried starting a stream. [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","tcurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","pageurl":"","addr":"10.1.10.70","clientid":"104","call":"publish","name":"64c2dc684867e-1","type":"live","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://videos.kaiserclix.com/live%3Fs=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&tcurl=rtmp://videos.kaiserclix.com/live%3Fs=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&pageurl=&addr=10.1.10.70&clientid=104&call=publish&name=64c2dc684867e-1&type=live SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish encryption token found users_id: [1] 64c2dc684867e == 64c2dc684867e SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish parse_url: {"scheme":"rtmp","host":"videos.kaiserclix.com","path":"\/live","query":"s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish parse_str: {"s":"bTVLVHp3SElPMmdNTk9KT0VwekJiQT09","webSiteRootURL":"aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","p":"b0a0090b5a3fff7c756f0a61079c0ea2"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish check if key exists (64c2dc684867e-1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish new User(1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish get LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish saving LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:07 America/Chicago] AVideoLog::DEBUG: LiveTransmitionHistory::save: active live NOT found ["64c2dc684867e-1",0,false] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: LiveTransmitionHistory::save: id=14 (1, NULL, 64c2dc684867e-1) [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":140,"function":"save","class":"LiveTransmitionHistory","type":"->"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish saved LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish deciding ... SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish success SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: deleteStatsCache: /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":174,"function":"deleteStatsCache","class":"Live","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: rrmdir: could not delete folder /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: clearCache starts SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: clearCache end in 0.008030891418457 seconds SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish start SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live:sendRestream start SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live:sendRestream (https://videos.kaiserclix.com/AVideo/plugin/Live/standAloneFiles/restreamer.json.php) {"m3u8":"http:\/\/videos.kaiserclix.com:8080\/live\/64c2dc684867e-1\/index.m3u8","restreamerURL":"https:\/\/videos.kaiserclix.com\/AVideo\/plugin\/Live\/standAloneFiles\/restreamer.json.php","restreamsDestinations":[],"token":"ZncvSitrQUlkRkpHcW1OcXZ0Q0dKUmhoU21xRVc5cVhFOFR1dFZBcDQ2NDg4N2FaTGg4Z1hJdnlyTk0wS2IvMFRXR21OZTZHS3k4a0dWTEhFTStBNDZ1TjN6c0xpZzUvUEhvNHJOUW9ucVZCR2txTmtCSlptcVMvemJhMlRXM3Q=","users_id":1,"liveTransmitionHistory_id":14,"key":"64c2dc684867e-1","live_restreams_id":0,"responseToken":"NFBwMmF1aExESi90K1VGNkxlYkxQWHVUWHJSZXl2cHN5K252RjNQd3lncVIrQXMxckhmSjRYNFV5UWNlcnBJSWVjbC9DQ1ovam1RdXBPalMweUt5YXc9PQ=="} [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":3072,"function":"sendRestream","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":2986,"function":"restream","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":176,"function":"on_publish","class":"Live","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live:sendRestream complete ["{\"error\":true,\"msg\":\"There are no restreams Destinations\",\"streamerURL\":\"https:\\/\\/videos.kaiserclix.com\\/AVideo\\/\",\"type\":\"decoded from request\",\"token\":\"ZncvSitrQUlkRkpHcW1OcXZ0Q0dKUmhoU21xRVc5cVhFOFR1dFZBcDQ2NDg4N2FaTGg4Z1hJdnlyTk0wS2IvMFRXR21OZTZHS3k4a0dWTEhFTStBNDZ1TjN6c0xpZzUvUEhvNHJOUW9ucVZCR2txTmtCSlptcVMvemJhMlRXM3Q=\",\"pid\":[],\"logFile\":\"\\/var\\/www\\/tmp\\/ffmpeg_restreamer_1_2024-03-12-04-53-08.log\"}"] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: on_publish: liveTransmitionHistory_id=14 users_id=1 live_servers_id=0 SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Notification::onLiveStream: Start users_id=1, live_servers_id=0 SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey namesFound [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey is NOT online [64c2dc684867e-1] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: isLiveAndIsReadyFromKey the key 64c2dc684867e-1 is not present on the stats live_servers_id= SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Live::isKeyLiveInStats key is already set SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Notification::onLiveStream: finishing and sending 1 emails SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync start [totalEmails=1] (php /var/www/html/AVideo/objects/sendSiteEmailAsync.php '/var/www/html/AVideo/videos/cache/tmpFiles/65f0cec43c060') SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: execAsync Linux: php /var/www/html/AVideo/objects/sendSiteEmailAsync.php '/var/www/html/AVideo/videos/cache/tmpFiles/65f0cec43c060' > /dev/null 2>&1 & echo $!; SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync end 242654 SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish end SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync: Start SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync: command line detected SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync: argument /var/www/html/AVideo/videos/cache/tmpFiles/65f0cec43c060 SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync: file do exists /var/www/html/AVideo/videos/cache/tmpFiles/65f0cec43c060 SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync: JSON is valid SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync: JSON decode SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmail: subject= Greg Kaiser is Live now - 2024-03-12 16:53:08 SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmail [gkaiser63@gmail.com] Greg Kaiser is Live now - 2024-03-12 16:53:08 SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: partition: listlen=1 totalItens=50 SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: sendSiteEmail::sending totalEmails=[1] SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:08 America/Chicago] AVideoLog::DEBUG: Sending SMTP Email SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:10 America/Chicago] AVideoLog::DEBUG: sendSiteEmail Error Info: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingSMTP server error: QUIT command failed count=[1] [1/1] SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:10 America/Chicago] AVideoLog::DEBUG: sendSiteEmailAsync: Complete SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php [12-Mar-2024 16:53:15 America/Chicago] AVideoLog::DEBUG: getCaptchaImage: admin - session_name 84b11d010cced71edffee7aa62c4eda0 session_id: pi0gdob0utf5cdklhsskp8bsrd SCRIPT_NAME: /AVideo/objects/getCaptcha.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey namesFound [] SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey is NOT online [64c2dc684867e-1] SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: isLiveAndIsReadyFromKey the key 64c2dc684867e-1 is not present on the stats live_servers_id= SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isKeyLiveInStats key is already set SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, 0, , ) SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, 0, , ) SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey namesFound ["(64c2dc684867e-1)"] SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey is online [64c2dc684867e-1] SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: isLiveAndIsReadyFromKey the m3u8 file is not present http://videos.kaiserclix.com:8080/live/64c2dc684867e-1/index.m3u8 [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":2443,"function":"isLiveAndIsReadyFromKey","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/getImage.php","line":78,"function":"isLive","class":"Live","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey namesFound ["(64c2dc684867e-1)"] SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [12-Mar-2024 16:53:16 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey is online [64c2dc684867e-1] SCRIPT_NAME: /AVideo/plugin/Live/getImage.php

DanielnetoDotCom commented 8 months ago

I guess you should start trying to fix or disable the emails

[12-Mar-2024 16:53:10 America/Chicago] AVideoLog::DEBUG: sendSiteEmail Error Info: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingSMTP server error: QUIT command failed count=[1] [1/1] SCRIPT_NAME: /var/www/html/AVideo/objects/sendSiteEmailAsync.php

this is how to install the nginx server https://github.com/WWBN/AVideo/wiki/Set-up-my-own-Stream-Server

gregk63 commented 8 months ago

I rebuilt everything and something is still wrong. When I start the stream this is what happens. https://snipboard.io/2CF0JG.jpg Sometimes I see a still picture of the stream. This time I didn't. Here is a chunk of the log while I was streaming. [14-Mar-2024 17:17:48 America/Chicago] AVideoLog::DEBUG: getCaptchaImage: admin - session_name 84b11d010cced71edffee7aa62c4eda0 session_id: 6k7k9d0co8g52snjiif0h4fi98 SCRIPT_NAME: /AVideo/objects/getCaptcha.php [14-Mar-2024 17:17:48 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","tcurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","pageurl":"","addr":"10.1.10.70","clientid":"126","call":"publish","name":"64c2dc684867e-1","type":"live","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://videos.kaiserclix.com/live%3Fs=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&tcurl=rtmp://videos.kaiserclix.com/live%3Fs=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&pageurl=&addr=10.1.10.70&clientid=126&call=publish&name=64c2dc684867e-1&type=live SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish encryption token found users_id: [1] 64c2dc684867e == 64c2dc684867e SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish parse_url: {"scheme":"rtmp","host":"videos.kaiserclix.com","path":"\/live","query":"s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish parse_str: {"s":"bTVLVHp3SElPMmdNTk9KT0VwekJiQT09","webSiteRootURL":"aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","p":"b0a0090b5a3fff7c756f0a61079c0ea2"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish check if key exists (64c2dc684867e-1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish new User(1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish get LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish saving LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: LiveTransmitionHistory::save: active live NOT found ["64c2dc684867e-1",0,false] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: LiveTransmitionHistory::save: id=22 (1, NULL, 64c2dc684867e-1) [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":140,"function":"save","class":"LiveTransmitionHistory","type":"->"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish saved LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish deciding ... SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish success SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: deleteStatsCache: /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":174,"function":"deleteStatsCache","class":"Live","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: rrmdir: could not delete folder /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: clearCache starts SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: clearCache end in 0.008948802947998 seconds SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish start SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live:sendRestream start SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live:sendRestream (https://videos.kaiserclix.com/AVideo/plugin/Live/standAloneFiles/restreamer.json.php) {"m3u8":"http:\/\/videos.kaiserclix.com:8080\/live\/64c2dc684867e-1\/index.m3u8","restreamerURL":"https:\/\/videos.kaiserclix.com\/AVideo\/plugin\/Live\/standAloneFiles\/restreamer.json.php","restreamsDestinations":[],"token":"ZncvSitrQUlkRkpHcW1OcXZ0Q0dKUmhoU21xRVc5cVhFOFR1dFZBcDQ2NDg4N2FaTGg4Z1hJdnlyTk0wS2IvMFRXR21OZTZHS3k4a0dWTEhFTStBNDA3WXhvRjZBRzdFNktxMmIrbU9hWGJyUDBDbWEvSlBvK2tDVWZDUk85dUg=","users_id":1,"liveTransmitionHistory_id":22,"key":"64c2dc684867e-1","live_restreams_id":0,"responseToken":"NFBwMmF1aExESi90K1VGNkxlYkxQWklEdzFuT25YaWpiNStGbTZ0TzExeVVrRHFTSzNyZHNYTmhpRkxqY3YrVFV2d2ZxMnhBWE5wNE9JOWpCc3RiaVE9PQ=="} [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":3072,"function":"sendRestream","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":2986,"function":"restream","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":176,"function":"on_publish","class":"Live","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live:sendRestream complete ["{\"error\":true,\"msg\":\"There are no restreams Destinations\",\"streamerURL\":\"https:\\/\\/videos.kaiserclix.com\\/AVideo\\/\",\"type\":\"decoded from request\",\"token\":\"ZncvSitrQUlkRkpHcW1OcXZ0Q0dKUmhoU21xRVc5cVhFOFR1dFZBcDQ2NDg4N2FaTGg4Z1hJdnlyTk0wS2IvMFRXR21OZTZHS3k4a0dWTEhFTStBNDA3WXhvRjZBRzdFNktxMmIrbU9hWGJyUDBDbWEvSlBvK2tDVWZDUk85dUg=\",\"pid\":[],\"logFile\":\"\\/var\\/www\\/tmp\\/ffmpeg_restreamer_1_2024-03-14-05-17-53.log\"}"] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: on_publish: liveTransmitionHistory_id=22 users_id=1 live_servers_id=0 SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Notification::onLiveStream: Start users_id=1, live_servers_id=0 SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey namesFound [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey is NOT online [64c2dc684867e-1] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: isLiveAndIsReadyFromKey the key 64c2dc684867e-1 is not present on the stats live_servers_id= SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Live::isKeyLiveInStats key is already set SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: Notification::onLiveStream: we will only send new emails after 5 minutes /var/www/html/AVideo/videos/cache/notlogged_f0d7d31f50b52cbe018a804051b6d6c6/onLiveStream/file1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:17:53 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish end SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: getCaptchaImage: admin - session_name 84b11d010cced71edffee7aa62c4eda0 session_id: 6k7k9d0co8g52snjiif0h4fi98 SCRIPT_NAME: /AVideo/objects/getCaptcha.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey(64c2dc684867e-1, , , ) SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey namesFound [] SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: Live::isLiveFromKey is NOT online [64c2dc684867e-1] SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: isLiveAndIsReadyFromKey the key 64c2dc684867e-1 is not present on the stats live_servers_id= SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:18:00 America/Chicago] AVideoLog::DEBUG: Live::isKeyLiveInStats key is already set SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","tcurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","pageurl":"","addr":"10.1.10.70","clientid":"126","call":"publish_done","name":"64c2dc684867e-1","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://videos.kaiserclix.com/live%3Fs=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&tcurl=rtmp://videos.kaiserclix.com/live%3Fs=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&pageurl=&addr=10.1.10.70&clientid=126&call=publish_done&name=64c2dc684867e-1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done parse_url: {"scheme":"rtmp","host":"videos.kaiserclix.com","path":"\/live","query":"s=bTVLVHp3SElPMmdNTk9KT0VwekJiQT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done parse_str: {"s":"bTVLVHp3SElPMmdNTk9KT0VwekJiQT09","webSiteRootURL":"aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: deleteStatsCache: /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish_done.php","line":60,"function":"deleteStatsCache","class":"Live","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: rrmdir: could not delete folder /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: clearCache starts SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: clearCache end in 0.0084547996520996 seconds SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish_done.php","line":63,"function":"finishFromTransmitionHistoryId","class":"LiveTransmitionHistory","type":"::","args":[22]}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done finishFromTransmitionHistoryId 64c2dc684867e-1 id=22 key=64c2dc684867e-1 live_servers_id= insert_row=1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] Live:getProcess /^([0-9]+).ffmpeg .64c2dc684867e-1/i [14-Mar-2024 17:18:26 America/Chicago] Live::killIfIsRunning checking if there is a process running for 64c2dc684867e-1 [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification sendSocketMessageToAll Start SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification SocketMessageToAll END SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: Notification::onLiveStream: Start users_id=22, live_servers_id=1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:18:26 America/Chicago] AVideoLog::DEBUG: Notification::onLiveStream: Not public false SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [14-Mar-2024 17:19:01 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:20:03 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [14-Mar-2024 17:22:05 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php

gregk63 commented 8 months ago

Could you tell me what this error means? It is one of a few I am seeing in the log.

[15-Mar-2024 08:53:38 America/Chicago] AVideoLog::DEBUG: rrmdir: could not delete folder /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php

gregk63 commented 8 months ago

Here is another one that is coming out regularly without me starting a stream.

[15-Mar-2024 09:24:54 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php

DanielnetoDotCom commented 8 months ago
[15-Mar-2024 08:53:38 America/Chicago] AVideoLog::DEBUG: rrmdir: could not delete folder /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[15-Mar-2024 09:24:54 America/Chicago] AVideoLog::DEBUG: Live::getStatsObject[0] 4: cache not found SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php

Nothing to worry about regarding the errors above

make a git pull in your site, I set some updates regarding the live stream yesterday

gregk63 commented 8 months ago

Sorry, I'm not sure how to do that?

Also, how do I go about sending you some money?

gregk63 commented 8 months ago

I found the tutorial.

DanielnetoDotCom commented 8 months ago

Sorry, I'm not sure how to do that?

https://github.com/WWBN/AVideo/wiki/How-to-Update-your-AVideo-Platform

Also, how do I go about sending you some money?

https://paypal.me/danielnetodotcom

or the donation link on this page

https://youphp.tube/marketplace/

I found the tutorial.

Awesome

DanielnetoDotCom commented 8 months ago

Got it thanks

gregk63 commented 8 months ago

Sorry for being a pain but the git pull is erroring for both.

ggk63@kaiserclix:/var/www/html/AVideo$ sudo git pull fatal: not a git repository (or any of the parent directories): .git

ggk63@kaiserclix:/var/www/html/AVideo-Encoder$ sudo git pull fatal: not a git repository (or any of the parent directories): .git

gregk63 commented 8 months ago

Sorry, I can't do more!

DanielnetoDotCom commented 8 months ago

so you did not use the git to get the code, what is a issue.

It seems like the user is trying to run git pull in a directory that is not a git repository, hence the error message "fatal: not a git repository (or any of the parent directories): .git".

To correct this issue, the user needs to navigate to the correct directory where the git repository was cloned initially. If they have not yet cloned the repository, they should do so using the git clone command.

Here are the steps they should follow: To move the directories /var/www/html/AVideo to /var/www/html/AVideo_OLD and /var/www/html/AVideo-Encoder to /var/www/html/AVideo-Encoder_OLD, and then clone the repositories and copy the videos directory, the user can follow these steps:

  1. Move the directories to the new locations:

    sudo mv /var/www/html/AVideo /var/www/html/AVideo_OLD
    sudo mv /var/www/html/AVideo-Encoder /var/www/html/AVideo-Encoder_OLD
  2. Clone the repositories:

    cd /var/www/html
    sudo git clone https://github.com/WWBN/AVideo.git
    sudo git clone https://github.com/WWBN/AVideo-Encoder.git
  3. Copy the videos directory from the old directories to the new ones:

    sudo cp -r /var/www/html/AVideo_OLD/videos /var/www/html/AVideo/
    sudo cp -r /var/www/html/AVideo-Encoder_OLD/videos /var/www/html/AVideo-Encoder/
  4. Adjust permissions if necessary:

    sudo chown -R www-data:www-data /var/www/html/AVideo /var/www/html/AVideo_OLD /var/www/html/AVideo-Encoder /var/www/html/AVideo-Encoder_OLD

These steps will move the old directories, clone the repositories into the new locations, and copy the videos directories from the old locations to the new ones while preserving permissions. Adjust the paths and permissions as needed for your specific setup.

gregk63 commented 8 months ago

Still unable to stream after doing the git pull and updating. I keep getting this when I start a stream. https://snipboard.io/n9kqJL.jpg

Here is the log from the on publish to the on publish done. [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","tcurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","pageurl":"","addr":"76.17.169.44","clientid":"408","call":"publish","name":"64c2dc684867e-1","type":"live","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://videos.kaiserclix.com/live%3Fs=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&tcurl=rtmp://videos.kaiserclix.com/live%3Fs=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&pageurl=&addr=76.17.169.44&clientid=408&call=publish&name=64c2dc684867e-1&type=live SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish encryption token found users_id: [1] 64c2dc684867e == 64c2dc684867e SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish parse_url: {"scheme":"rtmp","host":"videos.kaiserclix.com","path":"\/live","query":"s=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish parse_str: {"s":"ZzBQSWZZNElwenc2cThLeDkrTlJIUT09","webSiteRootURL":"aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","p":"b0a0090b5a3fff7c756f0a61079c0ea2"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: isReconnection=[false,false,"64c2dc684867e-1",0] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish check if key exists (64c2dc684867e-1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish new User(1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish get LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish saving LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: LiveTransmitionHistory::save: active live NOT found ["64c2dc684867e-1",0,false] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:54 America/Chicago] AVideoLog::DEBUG: LiveTransmitionHistory::save: id=32 (1, NULL, 64c2dc684867e-1) [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":147,"function":"save","class":"LiveTransmitionHistory","type":"->"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish saved LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish deciding ... SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish success (32, 1, 64c2dc684867e-1, 0) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: deleteStatsCache: /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ [{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":7472,"function":"deleteStatsCache","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":182,"function":"deleteStatsNotifications"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: clearCache starts 1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: rrmdir: do not delete videos or cache folder /var/www/html/AVideo/videos/cache/ SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: clearCache end in 0.17524313926697 seconds SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish start SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: Live:sendRestream start SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: Live:sendRestream (https://videos.kaiserclix.com/AVideo/plugin/Live/standAloneFiles/restreamer.json.php) {"m3u8":"http:\/\/videos.kaiserclix.com:8080\/live\/64c2dc684867e-1\/index.m3u8","restreamerURL":"https:\/\/videos.kaiserclix.com\/AVideo\/plugin\/Live\/standAloneFiles\/restreamer.json.php","restreamsDestinations":[],"token":"eUI1N1kyeFJJTjBwSC83QUFuNzBSeEJmaTk4ak1EZTkrNkZEWURsN3lZbXdXcFRNek5vTG1SZHZVK3U4YzBpVnBNcUU4b0svUVNMRDd1U25uYkdTS3FPV08rczlGMzkyTkQyQitVeXloR3djUXg0aERYdXlIem5tdkJreGkyVlo=","users_id":1,"liveTransmitionHistory_id":32,"key":"64c2dc684867e-1","live_restreams_id":0,"responseToken":"MVVzZ0R4NTRkZ0ZwQ05jK2EvcEtDSHJjTGlEOXBITm1RSmk4R09HV3liZUp1MDRuSDBnZDNlM01oUTBtaUhvQ0srYTQ4bHdQb1JSUkVIR2lldUlZdVE9PQ=="} [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":3354,"function":"sendRestream","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":3260,"function":"restream","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish.php","line":184,"function":"_on_publish","class":"Live","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: Live:sendRestream complete ["{\"error\":true,\"msg\":\"There are no restreams Destinations\",\"streamerURL\":\"https:\\/\\/videos.kaiserclix.com\\/AVideo\\/\",\"type\":\"decoded from request\",\"token\":\"eUI1N1kyeFJJTjBwSC83QUFuNzBSeEJmaTk4ak1EZTkrNkZEWURsN3lZbXdXcFRNek5vTG1SZHZVK3U4YzBpVnBNcUU4b0svUVNMRDd1U25uYkdTS3FPV08rczlGMzkyTkQyQitVeXloR3djUXg0aERYdXlIem5tdkJreGkyVlo=\",\"pid\":[],\"logFile\":\"\\/var\\/www\\/tmp\\/ffmpeg_restreamer_1_2024-03-17-04-08-55.log\"}"] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: on_publish: liveTransmitionHistory_id=32 users_id=1 live_servers_id=0 isReconnection= SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:55 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish end SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php [17-Mar-2024 16:08:59 America/Chicago] AVideoLog::DEBUG: isLiveAndIsReadyFromKey::key: 64c2dc684867e-1 checking SCRIPT_NAME: /AVideo/plugin/Live/stats.json.php [17-Mar-2024 16:09:06 America/Chicago] AVideoLog::DEBUG: Get Image SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [17-Mar-2024 16:09:06 America/Chicago] AVideoLog::DEBUG: isLiveAndIsReadyFromKey::key: 64c2dc684867e-1 checking SCRIPT_NAME: /AVideo/plugin/Live/getImage.php [17-Mar-2024 16:09:13 America/Chicago] AVideoLog::DEBUG: Live::getInfo LiveStreamObject=64c2dc684867e-1 => 64c2dc684867e, 0, 1, SCRIPT_NAME: /AVideo/plugin/Live/index.php [17-Mar-2024 16:09:13 America/Chicago] AVideoLog::DEBUG: getUserDbFromUser [admin] [false,false,false] SCRIPT_NAME: /AVideo/plugin/Live/index.php [17-Mar-2024 16:09:13 America/Chicago] AVideoLog::DEBUG: getUserDbFromUser SELECT * FROM users WHERE user = ? LIMIT 1 ["s",["admin"]] SCRIPT_NAME: /AVideo/plugin/Live/index.php [17-Mar-2024 16:09:13 America/Chicago] AVideoLog::DEBUG: User::loadFromUser(admin) user found [1]admin SCRIPT_NAME: /AVideo/plugin/Live/index.php [17-Mar-2024 16:09:13 America/Chicago] AVideoLog::DEBUG: Live::getInfo LiveStreamObject=64c2dc684867e-1 => 64c2dc684867e, 0, , SCRIPT_NAME: /AVideo/plugin/Live/index.php [17-Mar-2024 16:09:14 America/Chicago] AVideoLog::DEBUG: Live::getInfo LiveStreamObject=64c2dc684867e-1 => 64c2dc684867e-1, 0, , SCRIPT_NAME: /AVideo/plugin/Live/index.php [17-Mar-2024 16:09:14 America/Chicago] AVideoLog::DEBUG: getCaptchaImage: admin - session_name 84b11d010cced71edffee7aa62c4eda0 session_id: bukgudsqu22bfvrnhf3sihqal9 SCRIPT_NAME: /AVideo/objects/getCaptcha.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","tcurl":"rtmp:\/\/videos.kaiserclix.com\/live?s=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw","pageurl":"","addr":"76.17.169.44","clientid":"408","call":"publish_done","name":"64c2dc684867e-1","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://videos.kaiserclix.com/live%3Fs=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&tcurl=rtmp://videos.kaiserclix.com/live%3Fs=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09%26webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw&pageurl=&addr=76.17.169.44&clientid=408&call=publish_done&name=64c2dc684867e-1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done parse_url: {"scheme":"rtmp","host":"videos.kaiserclix.com","path":"\/live","query":"s=ZzBQSWZZNElwenc2cThLeDkrTlJIUT09&webSiteRootURL=aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done parse_str: {"s":"ZzBQSWZZNElwenc2cThLeDkrTlJIUT09","webSiteRootURL":"aHR0cHM6Ly92aWRlb3Mua2Fpc2VyY2xpeC5jb20vQVZpZGVvLw"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: deleteStatsCache: /var/www/html/AVideo/videos/cache/YPTObjectCache/getStats/ [{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":7472,"function":"deleteStatsCache","class":"Live","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish_done.php","line":60,"function":"deleteStatsNotifications"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: clearCache starts 1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:09:59 America/Chicago] AVideoLog::DEBUG: rrmdir: do not delete videos or cache folder /var/www/html/AVideo/videos/cache/ SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:10:00 America/Chicago] AVideoLog::DEBUG: clearCache end in 0.28068780899048 seconds SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:10:00 America/Chicago] AVideoLog::DEBUG: [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish_done.php","line":63,"function":"finishFromTransmitionHistoryId","class":"LiveTransmitionHistory","type":"::","args":[32]}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:10:00 America/Chicago] AVideoLog::DEBUG: LiveTransmitionHistory::finishFromTransmitionHistoryId: live_transmitions_history_id=32 [{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/on_publish_done.php","line":63,"function":"finishFromTransmitionHistoryId","class":"LiveTransmitionHistory","type":"::"}] SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:10:00 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done finishFromTransmitionHistoryId 64c2dc684867e-1 id=32 key=64c2dc684867e-1 live_servers_id= insert_row=1 SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:10:00 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification sendSocketMessageToAll Start SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:10:00 America/Chicago] AVideoLog::DEBUG: NGINX Live::on_publish_socket_notification SocketMessageToAll END SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php [17-Mar-2024 16:10:00 America/Chicago] AVideoLog::DEBUG: NGINX ON Publish Done success (32, 1, 64c2dc684867e-1, ) SCRIPT_NAME: /AVideo/plugin/Live/on_publish_done.php

DanielnetoDotCom commented 8 months ago

https://github.com/WWBN/AVideo/wiki/How-to-find-errors-on-AVideo-Platform#live-stream-errors

also this:

https://github.com/WWBN/AVideo/wiki/How-to-find-errors-on-AVideo-Platform#javascript-errors

gregk63 commented 8 months ago

One of the steps is failing but I don't know why and it looks like it might be using port 443. I don't understand where the 443 is coming from. When I try 8443 I get a 404.

https://snipboard.io/z87N6h.jpg

gregk63 commented 8 months ago

http://videos.kaiserclix.com:8080/stat https://videos.kaiserclix.com:8443/

Both of these URL's are working

gregk63 commented 8 months ago

So I think I figured out why the check for video source is failing. In my configuration the videos directory is after AVideo. /var/www/html/AVideo/videos When I use https://videos.kaiserclix.com/AVideo/videos/64c2dc684867e-1.m3u8 it doesn't error. I get a blank screen.

When I use https://videos.kaiserclix.com/videos/64c2dc684867e-1.m3u8 I get the 404 Not Found error.

DanielnetoDotCom commented 8 months ago

Your NGINX SSL configuration is not properly installed.

I cannot guide you on that but you may find help on google.

gregk63 commented 8 months ago

Using developer tools in the browser I am seeing this error.

1:2085 Mixed Content: The page at 'https://videos.kaiserclix.com/AVideo/live/0/Greg/1' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://videos.kaiserclix.com:8080/live/64c2dc684867e-1/index.m3u8'. This request has been blocked; the content must be served over HTTPS.

DanielnetoDotCom commented 8 months ago

image

gregk63 commented 8 months ago

Sorry! The error in the browser console is saying the request came in as https but it is turning around and making http request and it isn't allowing it. What in the NGINX installation could fix this?

DanielnetoDotCom commented 8 months ago

image