VideoDrift
VideoDrift is a unique video streaming engine that allows to record, process and manage streams and store them in cloud
About the project
VideoDrift is an innovative platform for creating and managing your videostream in 2 clicks. It allows you to easily set-up your master stream with different sources – active speakers WEBRTC, direct ingress RTMP streams, Amazon S3 links, mix it together, arrange layout, control a stream with adding\deleting feature and finally get egress RTMP stream and share it on any platform that supports it, such as Twitch, YouTube, Facebook, and Twitter.
-
Industry
Social Media
-
Type of project
Video streaming engine
-
Country
USA
-
Duration
6 months
Business Goals
Main business objective was to create a new BE engine with ability to process RTMP, WebRTC and S3 streams to avoid usage and lifetime license\subscription payment plans for third party solutions for further platform development.
After the successful video streaming engine development, the goal was to launch an MVP platform with basic functionality on the market to start gaining an audience through marketing campaigns and free promotions.
Key Challenges
-
Mediasoup engagement
-
Amazon S3 Stream usage
-
Native WebRTC implementation
-
Recording & storage feature
Technical challenges
-
1
Optimisation of ingress RTMP streams processing for 1 Mediasoup server
-
2
Nginx configuration to manage real-time streams
-
3
WebRTC to RTMP streams conversion
-
4
To provide maximum number of active speakers per 1 Mediasoup server that produces Video and Audio streams
-
5
We’ve adjusted the video stream format for Amazon S3 with specific requirements
-
6
Optimisation target was to define optimal parameters for the video stream to process with less infrastructure costs
Solution
In order to mix down multiple video streams into composite pictures and, therefore, into stream, we developed a special mixer element that is also able to mix multiple audio streams into a single composite audio stream.
We also came up with an idea of how to create a recording pipeline to pack composite AV streams into containers and store them on FS or upload to cloud storage.
We decided to add the feature of recording the final video from the mixer and keeping it in mp4 format in the cloud storage.
Softermii team had to develop client side SDK for easy and seamless integration
We have created a Nginx configuration for pulling and pushing RTMP streams and recordings.
We used RTMP support to get and provide RTMP streams to the mixer.
We used a Mediasoup server to create rooms where up to 16 active speakers could join simultaneously, so that the server could handle and produce a stream per person in a joined room.
We’ve added the que with all Video\Audio Streams of users that are visible for Admin. Thus the Admin can add it to Mixer for processing in real time.
We implemented Amazon S3 link video streaming processing with flv of mp4 format to mixer for further arrangement and presentation and real time controls of mp4\flv file playback via Amazon S3 Stream.
We’ve added the easy-to-share the stream on any platform that supports it, such as Twitch, YouTube, Facebook, and Twitter, etc.
Achievements
-
Social media streaming
Seamlessly integrate your studio streams with social media accounts in less than 30 seconds for expansive, multi-platform broadcasting.
-
16 active speakers
Up to 16 active speakers per 1 Mediasoup server with the possibility to add additional servers automatically
-
3 entry RTMP
Up to 3 entry RTMP streams per 1 Broadcast
Key features
-
Streams mixer
-
Amazon S3 link playback
-
Streams preview
-
WebRTC and RTMP streams
-
Realtime management of Streams
-
Recording from mixer
Team behind the project
Tech Stack
-
TypeScript
-
Axios
-
Redux
-
NodeJS
-
FFmpeg
-
uWebSockets
-
SASS
-
Mediasoup
-
React JS
-
GStreamer
-
Webpack
-
NGINX + rtmp-module
-
Chromium Embedded Framework
-
JSON-RPC
Testimonials
Get valuable insights
Discover the benefits of digital disruption in your industry
Don’t dream for success, contact us
Leave an inquiry or contact us via email and phone. We will contact you within 24 hours during work days.
-
Los Angeles, USA
10828 Fruitland Dr. Studio City, CA 91604
-
Austin, USA
701 Brazos St, Austin, TX 78701
-
-
Tel Aviv, IL
31, Rothschild Blvd
-
Warsaw, PL
Przeskok 2
-
London, UK
6, The Marlins, Northwood
-
Munich, DE
3, Stahlgruberring
-
Vienna, AT
Palmersstraße 6-8, 2351 Wiener Neudorf
-
Kyiv, Ukraine
154, Borshchagivska Street