M
M
Maxim Kalinin2020-05-21 16:03:48
Live
Maxim Kalinin, 2020-05-21 16:03:48

How to implement a live (live) broadcast on the site?

I am making a web application.
We need the ability to launch a live broadcast for each of the registered users.
I have already managed to get a little familiar with how to approximately implement this idea, here's what I think:
You need to somehow implement a directory on the server into which segments of the video (of the client that launched the broadcast) will be loaded under a certain index, so that the other client part can receive these same fragments of video under a certain index and thus going into a full-fledged video broadcast. Why index? To separate one broadcast from another among different video fragments.
I thought to implement it through Apple technology, like - HLS. I found a platform that allows you to make a live broadcast on the site, namely cloudinary.
If you implement HLS translation from scratch in the vein of this idea, then what things can you advise how to implement? If I'm wrong somewhere, please correct me.
And do you need a separate server or hosting for these things? What should this server/hosting support?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor, 2020-05-21
@MaximAr1es

UDP:
I recommend using Web RTC , if you do not need an archive with completed broadcasts, then you can save server resources. PeerJS makes it easy for you. And in the article Video call in the browser on PeerJS. Quick start on Habré you can see an example of use

V
Vladimir Korotenko, 2020-05-21
@firedragon

Look this way. I was frankly lazy to do without a real project.
www.RTCMultiConnection.org/docs
Backing can be written on the same .NET Core.
You can contact with me any time.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question