This is my php code, and i am trying to create a chat I know that php isn’t the way to go, but I want to have some fun, and it seems to be working out. Also, I want to ask how do you let the chat let real time. I created a document called chat.txt and maybe i can
Tag: real-time
Laravel websocket cant connect to pusher ERR_CERT_AUTHORITY_INVALID
I have a laravel application with websockets. I already setup all the needs for the websocket and pusher config. But whenever I test my broadcast channel I got app.js:58283 WebSocket connection to ‘wss://127.0.0.1/app/644a4ac1988060882370?protocol=7&client=js&version=6.0.2&flash=false’ failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID When i do some reload. sometimes i get app.js:55791 WebSocket connection to ‘wss://127.0.0.1/app/644a4ac1988060882370?protocol=7&client=js&version=6.0.2&flash=false’ failed: WebSocket is closed before the connection is
ffmpeg real-time encoding while file uploading by chunks
Now the process is: File upload Encode file with ffmpeg when file has been uploaded Can be done at the same time?, obviusly yes, but I don’t know how. The file upload process is by 8MB chunks stored in server, then, temporary I have videofile.ext.tmp that is growing up to final uploaded file. I read about ffmpeg -stream_loop or -loop
How do I parse emails in realtime as they are recieved
I need to build an email parsing script which would parse emails that would come into an inbox and dump the contents into a database, while at the same time make a curl request with details parsed …