Kirjoittaja Aihe: Creating a Mobile Live Stream Platform With Wowza Media Systems  (Luettu 70 kertaa)

Creating a Mobile Live Stream Platform With Wowza Media Systems

Whether you are watching Coachella live on YouTube, connecting with your followers via Instagram stories, or gaming with more than 10 million other daily active users on Twitch, there’s no denying that live streaming video has become an indispensable part of our lives. All you really need is a reliable internet connection and a device such as a smartphone or a computer to receive content.To get more news about moonlive, you can visit official website.

At profiq, we’ve been intrigued by the possibilities of live streaming and have been actively pursuing it since 2015. You can read about our ventures into 360° video and VR streaming here How we delved into alternate reality, and why and here Life’s imprints in 360 degrees.

In this article, we continue our exploration of live streaming by building a live stream for our mobile app using Wowza Streaming Cloud and Wowza GoCoder. You can see how well it worked by watching a video of the integration at the end of this article. But before we delve into our use case, let’s first look at how live streaming works.
Understanding streaming
Streaming is a method of delivering video and audio content over the Internet to mobile devices and computers. It is delivered in real-time (live) data streams, or in pre-recorded ones.

Live data streams
Prevalent live stream consumer service providers such as YouTube and Facebook Live regularly deliver events in real time such as breaking news. For example, the two most watched live YouTube videos are SpaceX’s Falcon Heavy rocket launch and Felix Baumgartner’s space jump.

Live data streams are time-bound and are only available for the duration of an event. As a result, there is no need to store data on the mobile device or computer. When the event ends, so do the stream and the content, although some platforms provide the option to record the live stream for replay later. For example, when you live stream on Twitch or Steam, you can watch the video again. YouTube also records live streams and saves them for future replays.

Pre-recorded streams
Unlike live data streams, pre-recorded or on-demand streams are not time-bound or of limited duration. Pre-recorded videos need to be stored on external storages/servers, and can be played on demand once or many times from that location. Some examples of pre-recorded streams are podcasts and movie services like YouTube. Regardless of whether you watch content live or on-demand, both types of live streaming deliver content to you when you request it.

As you know, rendering video is very resource-intensive, so a robust streaming engine and good algorithms are imperative for delivering video in real time. Minimal latency is also crucial for delivery. To accomplish this, video is distributed through content delivery networks (CDNs). CDNs are groups of geographically distributed servers that work together to deliver content quickly. When data is transmitted, it is received by the CDN that is physically the closest to the user to ensure a fast and interruption-free delivery. The following diagram illustrates this process:
Thus far, we have discussed how live streaming works on a very macro level. In the next section, we’ll show you how to live stream on a micro level; in our case, by delivering live stream video from one mobile device to another mobile device using Wowza’s products.