EasyDSS as RTMP protocol video platform, in the case of multi-channel video stream access, video push pressure is much greater than EasyNVR, EasyGBS. In order to relieve such pressure with EasyDSS, we decided to use a distributed transcoding server, which required the use of a distributed file server. For this requirement, we are going to use Go-FastDFS.

Go-fastdfs is a distributed file system on Github based on HTTP protocol, which can be deployed in a distributed manner. As a very easy to use file server, Go-FastdFS uses pure GO language to write, the design is very simple to make its operation and maintenance and expansion become easier, it has the advantages of high performance, high reliability, no center, maintenance free, support multi-platform installation, including Windows, Linux, Docker and other platforms.

Git address: github.com/sjqzhang/go…

Examples of Go code usage

The Go server can upload/download and delete files using HTTP requests:

Example of uploading a file:

Examples of download files:

Example for deleting a file:

EasyDSS video platform to watch video streaming live without the need to install plug-ins, web pages can play directly, through the browser into the platform can be configured, for users, convenient and controllable, no need to build a server, with great advantages.

To play a RTMP stream, you need to go through the following steps: shake hands, establish a network connection, set up a network stream, and play. Only one network connection can be established between the server and the client, but many network flows can be created based on this connection, which is a feature of the RTMP streaming protocol. Because many project teams have requirements for streaming, I will introduce EasyDSS, which is a streaming media server suitable for streaming. So if you have similar needs, please feel free to know or test them.