Lenix

When the default video program of ubuntu 22.04 plays some mp4 files, it cannot be played, and it reports that the specified video cannot be found. Solve the problem.

When the default video program of ubuntu 22.04 plays some mp4 files, it cannot be played, and it reports that the specified video cannot be found. Solve the problem. Just uninstall gstreamer1.0-vaapi. Command sudo apt remove gstreamer1.0-vaapi … The post ubuntu 22.04 default video program to play some mp4 files, can not play, reported that […]

When the default video program of ubuntu 22.04 plays some mp4 files, it cannot be played, and it reports that the specified video cannot be found. Solve the problem. Read More »

Front-end development process and correct posture written for back-end programmers.

Front-end development process and correct posture written for back-end programmers. 关键词: node .js,npm,webpack, laravel mix,package. json ,js代码压缩. For a long time, back-end programmers may be unfamiliar with front-end, especially modern front-end engineering. When they see terms such as nodejs, npm, etc., they are confused. But back-end programmers are still in practice. More or less will

Front-end development process and correct posture written for back-end programmers. Read More »

What is the simplification of JavaScript (what is js code compression), and why should js code be compressed?

Minimalization, also known as minification, is the process of removing all unnecessary characters from JavaScript source code without changing its functionality. This includes removing spaces, comments, and semicolons, and using shorter variable names and functions. Minimal JavaScript code reduces file size. For example, this is the code block before and after minimal simplification: Before Minimal

What is the simplification of JavaScript (what is js code compression), and why should js code be compressed? Read More »

The process of npm install and npm run

what is npm npm ( node ​​pakage manage) is a third-party package manager and is the default package management tool for the Node.js platform. what npm does Through npm, you can install, share, distribute code, and manage project dependencies. example: When configuring webpack, many third-party modules (modules occupy a pit) need to be installed through

The process of npm install and npm run Read More »

Detailed package.json file

Detailed package.json file foreword 1. The role of the package.json file 2. Create the package.json file 3. Package.json file example Fourth, package.json file configuration instructions foreword As the front end develops from multi-page to single-page, from fragmented files to modular development, in a complete project, package.json files are everywhere. First, in the project root directory

Detailed package.json file Read More »

Browser-based WebRTC streaming from RTSP IP cameras with low latency

Browser-based WebRTC streaming from RTSP IP cameras with low latency According to reports, there are hundreds of millions of video surveillance IP cameras installed today . Of course, not all of them require low-latency video playback. Video surveillance is usually static – the stream is recorded to storage and analyzed to detect motion. There are

Browser-based WebRTC streaming from RTSP IP cameras with low latency Read More »

7 Ways to Play RTSP on HTML5 Pages

7 Ways to Stream RTSP on a Page In this article, we demonstrate 7 different technical approaches for displaying video streams from RTSP-enabled IP cameras on web pages in browsers. Typically, browsers do not support RTSP, so an intermediate server is used to convert the video stream for the browser. Method 1 – RTMP Browsers

7 Ways to Play RTSP on HTML5 Pages Read More »

Solve the problem that socket.io cannot use websocket long connection and keeps polling for requests

Reference: https://ift.tt/cnvFQjq Possible explanations: Proxy in front of server does not accept WebSocket connections Proxy in front of server not accepting WebSocket connections Please see the documentation here . On the Nginx proxy, modify the nginx configuration as follows. http { server { listen 80; server_name example.com; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host

Solve the problem that socket.io cannot use websocket long connection and keeps polling for requests Read More »

Use Advanced Installer to package the installation package – make a windows installer

Use Advanced Installer to package the installation package – make a windows installer 1. Download AdvancedInstaller 19 download address 2. Download AdvancedInstaller 19, double-click AdvancedInstallerPortable.exe after decompression, select Generic as Enterprise, language: Chiness Simplified(PRC), and click Create Project. 3. Fill in Name, Version, Publisher in the “Product Details” page. Set the Control Panel ioc. After

Use Advanced Installer to package the installation package – make a windows installer Read More »

Nativefier – quickly package a website into a desktop program

Introduction to Nativefier Nativefier is a command-line tool that can easily create desktop applications for any website with just one line of code. Applications are packaged into system executable files (such as .app, .exe, etc.) through Electron , which can run on Windows, Mac, etc. and on Linux systems. Github address: https://github.com/jiahaog/nativefier , there are

Nativefier – quickly package a website into a desktop program Read More »