Skip to main content

9 posts tagged with "srs"

View All Tags

· 4 min read

Introduction

In today's digital world, live streaming has become an essential tool for businesses, content creators, and individuals alike. With the increasing number of viewers tuning in to watch live streams, it's crucial to optimize the streaming experience and cost for everyone, regardless of their internet speed or device capabilities. One effective way to achieve this is through live streaming transcoding, a process that can help reduce bandwidth and save costs without compromising on video quality. In this blog, we'll explore the benefits of using SRS Stack for efficient live streaming transcoding and how it can lead to significant cost savings.

· 4 min read

Introduction

Virtual live events refers to converting recorded video files, devices, or network streams into live broadcasts and pushing them to live streaming platforms. For example, in e-commerce live streaming, you can pre-record product explanations and demonstrations. In educational live streaming, you can pre-record lessons and play them in the live classroom. For online speeches and sharing, you can play pre-recorded content in the live room.

Virtual live events allows streamers to have plenty of preparation time, making the content more polished. It helps reduce anxiety for inexperienced streamers, prevents network issues, enables 24/7 live streaming, reaches a wider audience, and offers more possibilities for live broadcasts.

· 3 min read

OBS now features WHIP support, with the patch having been recently merged. This enables various new functions and possibilities with OBS WHIP, as the latency drops from 1 second to 200 milliseconds.

Without OBS WHIP, you can employ RTMP+WebRTC for live streaming, which results in a latency of approximately 500ms. However, by using OBS WHIP, you can achieve low-latency live streaming with a latency of around 200ms.

· 3 min read

Written by Winlin and GPT4

While Open Broadcaster Software (OBS) is a widely used solution for live-streaming to YouTube via RTMP or RTMPS, there is an alternative approach that leverages a web browser.

This method involves streaming your camera using WebRTC within a webpage, then employing Simple Realtime Server (SRS) to convert WebRTC to RTMP, and using FFmpeg to publish the RTMP stream to YouTube. For those who prefer RTMPS, FFmpeg can be utilized to extract the stream from SRS via RTMP, transcode it to RTMPS, and subsequently publish it to YouTube.

· 4 min read

Introduction

As a CA(Certificate Authority), Let's Encrypt provides free and automatic TLS/SSL certificates, which enables encrypted HTTPS for SRS Droplet. It's very easy to use, only by 1-Click.

HTTPS is required for publishing streams using WebRTC, and it improves security. If you want to support the video streaming in any HTTPS website, such as a WordPress website, you must use HLS/FLV/WebRTC with HTTPS, or it will fail for security reasons.

Note that SRS droplet only supports a single domain name, which makes the problem simple. It is easy to use.

In this tutorial, you will learn how to configure the HTTPS for SRS droplets, and your certificate will be renewed automatically.

· 9 min read

Introduction

Streaming video is very popular in a variety of industries, and there are many tutorials for building a media server, using SRS or NGINX-RTMP that host stream does not rely on other service providers. But if we want to build a online video streaming service, it's much more than only a media server:

  1. Authentication: Because the server is on the public internet with a public IPv4 address, how to do authentication? How to block all users except they have the correct token?
  2. Multiple Protocols: Rather than publishing RTMP using OBS, you might need WebRTC or H5 to publish live streaming, or OBS WHIP Server for it's easy to use. You might also use SRT with some broadcasting devices. How to convert RTMP/WebRTC/SRT to HLS?
  3. Restreaming and DVR: To help you boost engagement and reach, you could connect other service providers to restream, such as YouTube, Twitch and Facebook. Well, DVR allows you to continue engagement after live events have ended, generating revenue via VoD(on-demand video).
  4. Transcoding: Optimizes streaming for viewers with different internet speeds and devices, reduces bandwidth usage, and saves costs.
  5. Virtual Live Events: Create seamless and engaging live streaming experiences using pre-recorded content for various applications, such as e-commerce, education, and online speeches.
  6. IP Camera Streaming: Effortlessly stream your RTSP IP camera to popular platforms like YouTube, Twitch, or Facebook.

Literally it's not just a media server, and seems a bit complicated, right? Yep and No!

  • Yep! Building a video streaming service is something really difficult, not easy. It requires video streaming engineering, also backend service technology like Nodejs or Go, and frontend skills to build a mgmt and homepage.
  • No! Rather than build all from scratch, we could build a video streaming service based on some open source solution such as SRS Stack, and lightweight cloud service such as DigitalOcean or AWS, it's really simple to build your video streaming service.

In this tutorial, you will learn how to set-up a video streaming service, supports publishing by browser without a plugin that is converting WebRTC to HLS, to deliver low latency (about 300ms) video streaming using SRT, and to secure the service by authentication. Furthermore, this solution is open source and very easy to get it done, via even 1-Click.