D
D
Duioka2020-01-31 19:08:28
Video broadcast
Duioka, 2020-01-31 19:08:28

What technologies do you need to know to create your own video streaming service?

Good evening. I recently started learning php on the advice of a friend. Initially, I planned to learn js + nodejs for the backend, but the course changed towards php for the server side. How much, this is the right decision, I can’t say myself, because I was advised to start with php. I would like to ask those who have come across or who have a direction towards streaming and online video broadcasts, what technologies you need to know and learn for a site with a medium-high load, is it possible to implement this with js (+ fraemwork) + php (laravel) . In what direction to dig? What and where can go out of the box? I am interested in the direction of streaming in which I would like to develop, but at the same time, I do not want to miscalculate with the tools and waste the time spent getting used to them. Thank you for your attention.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Y
Yuri Udovichenko, 2020-02-01
@Aquary

Your task breaks down into a couple of separate parts:
1. The website where the player will be shown, user management, payments, etc. will go.
2. Stream broadcasting technology that will give you links to streams that you will use on the site.
The first task is relatively typical - there are a lot of recipes and technologies, I will not advise here, apparently they themselves are very familiar. There are also a number of players, including free ones (video.js, hls.js) - and there is nothing complicated there.
For the second task, this is solved by a separate stack of solutions that you do not need to program. See typical broadcast scenarios , for descriptions of the products that create them. In place of our products, there can be any others of the same class, the choice will already be yours.
I want to say right away that in live broadcasting there is an entry threshold and will require passing a certain learning curve, but everything is solvable.

X
xmoonlight, 2020-01-31
@xmoonlight

Start at https://www.kurento.org/

C
chupasaurus, 2020-02-01
@chupasaurus

The modern architecture of a streaming service for a healthy person along the chain from receiving a broadcast to uploading:

  1. Incoming flow balancer
  2. Pool of transcoders to used formats
  3. Video streaming CDN
  4. (WebRTC) Balancer + WebRTC server
  5. API for authentication and other goodies
  6. Balancer for clients

PHP will be on the penultimate layer here, you can still pull ffmpeg on the second one. The broadcast itself is always processed on the client, you can add maximum analytics on the backend.

D
Dimonchik, 2020-02-01
@dimonchik2013

here you choose
itmultimedia.ru/media-servera-flash-media-server-w... (usually red5)
the site doesn't care what it is, but it's better to stay away from PHP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question