MQTT for video conference

1,026 views
Skip to first unread message

Sai Kiran Kumar Reddy

unread,
Jan 17, 2018, 12:02:35 AM1/17/18
to MQTT
Is it possible to use MQTT for the purpose of video conferencing? If yes, how exactly could it be done? 

Thanks in advance...

Sumeet Puri

unread,
Apr 28, 2018, 9:23:22 PM4/28/18
to mq...@googlegroups.com
Very late reply here, but check this out (excerpts from the below blogs):

1. Broadcasters start live streams on their devices (phone/laptop/dedicated digital video recording device).
2. The broadcasting device sends a UDP/RTSP/RTMP streams to a thin MQTT Broker specific proxy.
3. The proxy resides within both the Broadcaster’s and the Viewer’s infrastructure.
4. In the Stream Ingestion Phase, the proxy encapsulates the stream payload into MQTT or broker specific message format and forwards to the broker.
5. In the Stream Distribution Phase, the broker must ensure that the stream is delivered (fan out) to the viewing device’s proxy.
6. In the Request Load-balancing Phase, the Viewers register viewing requests with care-of receiving proxies and these proxies then decapsulates SMF into the original streaming transport format (UDP/RTSP/RTMP) and forwards the stream to its care-of viewer. If the viewer is able to receive the stream in other protocol such as MQTT/HTTP, then the message broker can deliver directly to the Viewer bypassing the receiving proxy as well.
Since the MQTT Broker move data base on topics, a Broadcaster can ingest its live video stream to a topic, e.g. channel/id_1, and any stream viewer subscribes to topic channel/id_1 will receive the live stream.

Likewise, a transcoder can monitor if there are any channel/id_1/# subscriptions, and if so, it can then subscribe to channel/id_1, take the stream and transcode it to a specific format and re-ingest back to the Messaging Broker with a topic of, say, channel/id_1/h264/320×160/50kbps.  Any stream viewer that subscribes to topic channel/id_1/h264/320×160/50kbps will receive live video stream on channel 1 with h264 encoding at the resolution of 320×160 and bit rate of 50kbps.



You need to keep bandwidth utilisation and scalability in view though when architecting a video streaming/chat application. A hardware form factor helps. 

Thanks and Regards, 
Sumeet. 

On 17 Jan 2018, at 1:02 PM, Sai Kiran Kumar Reddy <tosai...@gmail.com> wrote:

Is it possible to use MQTT for the purpose of video conferencing? If yes, how exactly could it be done? 

Thanks in advance...

--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages