S
S
Slavik122019-09-24 20:27:08
Android
Slavik12, 2019-09-24 20:27:08

How to organize a live broadcast from one smartphone to another?

Good day. I'm trying to organize a live broadcast from one smartphone to another. Can you please explain in detail what I need to do and what is needed for this, what functions should I use to record video and show it, I can imagine these functions, but still? I understand that it will be necessary to raise some kind of server, while sending video to it and broadcasting from another phone? Lots of questions, but I don't know where to start. Thanks to everyone who helps)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Developer, 2019-09-24
@samodum

There are a million applications for this in the market. from AirDroid to... the rest

R
rPman, 2019-09-25
@rPman

If your project is a web application, then browsers provide all the necessary technologies for this - for example, there are a bunch of opensource applications based on webrtc. Check out talky.io for example.
In fact, direct client-client connections are not always possible, especially in Russia, when providers break the Internet on the orders of idiots from above, and not only .. which means you will need an intermediate server one way or another. Read about webrtc, server stun and more.
If the application is not web, then you have more ways, for example, providing a connection based on your wifi access points (almost all modern smartphones and tablets can work as an access point) or even bluetooth / nfc (weak for video but can be used to actually organize the connection to agree on who connects to whom).
It’s not so easy with video and sound, more precisely, it’s simple and difficult at the same time, difficulties begin if you need to support the most diverse fleet of user hardware and hardware codecs (if you need high image quality and low battery costs), so look for ready-made libraries.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question