Live Linear

A live linear stream typically establishes a 24/7 audio/video feed from content captured via SDI or UDP. In addition to mirroring the input signal, it also supports content and ad replacement.

Basic Setup

Set up a live linear stream by configuring the following components:

  1. Live Channel

    A live channel represents a live linear stream that contains a timeline that identifies live and on-demand content and when it should be played.

  2. Slicer

    Use a Live Slicer, Cloud Slicer Live, or both to capture and push audio/video content to a live channel's timeline.

    • Live Slicer: A Live Slicer is a Linux daemon.

      Use the Channel API to populate a live channel's timeline with pre-encoded content and/or live feeds from additional Live Slicers.

    • Cloud Slicer Live: Cloud Slicer Live allows you to run a slicer in our cloud. This allows you to ingest and encode content without on-premise hardware.
  3. Media Player

    Once a live linear feed has been processed into a stream, it may be played back from anywhere in the world.

    If you are setting up a HLS player, you may add support for fast forwarding, rewinding, or pausing and resuming through the Live Timeshifting capability.

How Does it Work?

The following diagram illustrates the flow through which a live linear feed is processed and then streamed to users around the world.

As illustrated above, a stream is generated from a live linear feed through the following phases:

  1. Push to Live Slicer

    The existing broadcasting infrastructure pushes a live linear feed to a Live Slicer via either UDP or SDI.

  2. Slicing

    Both the Live Slicer and the Cloud Slicer Live slices, encrypts, and then uploads content to the cloud.

  3. Encoding and Storage

    Our cloud encoders encode audio/video into H.264/H.265 and AAC. After which, the encoded media is added to cloud storage.

As viewers request the live linear feed, it will be served via our CDN service ensuring an optimal viewing experience by efficiently delivering data all over the world.

Prevent hotlinking by digitally signing the playback URL.

Security measures, such as Blackout, may be applied to the stream to restrict playback to authorized users.

Latency

Latency measures the delay between the capture of the source video and when it is displayed to the viewer.

If you do not see the Playback Latency option, contact Support.

The following illustration provides an overview of components involved in the workflow from video capture to playback.

A short explanation of how each of the above components adds latency is provided below.

Component Latency Factors

Slicer

The amount of time it takes to slice and deliver processed media to our Streaming service. This may be exacerbated by using underpowered hardware or insufficient bandwidth for your encoding profile.

Streaming Service

The amount of time it takes to decode, encode, and package sliced media into an adaptive bitrate format.

Digital Rights Management (DRM)

The amount of time it takes to request and generate licenses for content protected by DRM.

Ad Decision Server

  • The amount of time it takes to request, bid, and deliver ads to our Streaming service. This may be exacerbated by complicated ad campaigns, a large waterfall, and slow responses by the ad decisioning server and third-party ad providers.
  • Ad breaks extending beyond their intended duration due to long ad creatives.
  • Delayed ad delivery due to a late notification of an upcoming ad break.

CDN

The amount of time it takes to cache and deliver your stream to the player.

Player

The amount of time it takes to initialize and then play your stream. This may be exacerbated by clients that use underpowered hardware or that have insufficient bandwidth.

Manifest Engine Decisioning logic that controls the timing and creation of individual manifests for playback by users.

Best Practices for Reducing Latency

Reduce latency by applying the following best practices:

The following optimizations are listed in descending order according to the degree to which they will reduce latency.

Type Optimization(s)

Playback Profile

Selectable, pre-figured control file that contains the parameters related to reduced-latency options. Used during manifest creation and driven by selectable latency options. Use the drop-down on the Channel's Details tab and the Live Event's Config tabs. See Selecting playback latency to choose latency options. Selecting a low latency playback option (other than default) may increase the probability of missing content slate and decrease the number of ad fills.

Contact our Professional Services Group for assistance on how to optimize this setting for your environment.

In addition to the selectable latency settings, a variety of factors, such as the hardware on the computer hosting the Live Slicer, ad workflow, encoding profile, and platform/ player affect the latency achieved, the quality of the customer viewing experience, and the ad monetization. Any latency numbers associated with settings are estimates, and your individual results may vary.

Chopping / Dropping Ads

Reduce ad-related latency by either chopping or dropping ads upon exceeding ad break duration. Use ad.flex to determine the number of seconds that an ad can extend beyond an ad break before being chopped or dropped.

Learn more.

Player

Client

Use a player (e.g., THEOplayer) that supports two second media segment files and fast startup times.

The HLS specification requires that a player wait for three media segments prior to initiating playback. DASH, on the other hand, can initiate playback immediately. This, in theory, allows DASH to offer lower latency than HLS, but in practice, testing has shown little difference between the latencies achieved by HLS or DASH. Different HLS players offer varying degrees of latency.

Different protocols and platforms may affect latency beyond the control of Edgio.

Encoding Profile

  • Two Second Media Segments

    Reduce the duration of the media segments generated for your content to two seconds. This allows the generation of a manifest file that is more responsive to changing conditions (e.g., ad break duration variability). Additionally, it reduces the amount of time that the player must wait before initiating playback. However, it may increase rebuffering for some players.

    Update your slate to use two second media segments before leveraging two second media segments for your main content. Using slate that has been encoded as four second media segments when your main content's media segment size is two seconds will cause playback issues.
    Learn more about slate.

    Please contact customer support to update your encoding profile to generate two second media segments.

  • B-frames and DRM

    Each of the above features add a small amount of additional latency. Reduce latency by only activating features required to meet your business needs.

    Use our recommended low latency encoding profiles to reduce latency.

    B-frames will only cause latency when they have been enabled on every ray.

Slate

Re-encode Slate (Two Second Media Segments)

A player may only switch from slate to your main content once it finishes playing the current media segment. Use slate that has been encoded in two second media segments to reduce the potential amount of time that the player must wait before switching to your main content.

This recommendation should be applied regardless of whether your account has been configured to generate two second media segments for your main content.

System slate has already been encoded using two second media segments.

Slicer

  • GPU

    We recommend the use of a Nvidia Tesla T4 GPU on the computer hosting the Live Slicer. The use of GPU hardware reduces missing content slate and overall latency.

    GPU hardware is required at higher resolutions.

  • CPU

    We recommend the use of Quad-core x86-64 (2GHz) or higher on the computer hosting the Live Slicer.

  • Memory

    We recommend 64 GB or more of RAM on the computer hosting the Live Slicer.

  • Upload Bandwidth

    Your upload bandwidth should exceed the bandwidth generated by the encoder for the top rayA stream with a specific quality configuration based on set bit rate and resolution targets. Each ray is divided into slices. by 25%. The amount of bandwidth generated by your encoder varies by encoding profile. For example, the default encoding profile (i.e., HD 720p25/30) requires 5 Megabits per second (Mbps).

    Insufficient bandwidth may affect performance and result in slate.

  • Build

    We recommend that you always use the latest Live Slicer build. This ensures that you can leverage our latest optimizations.

Ads

  • Chopping / Dropping Ads

    As noted above, reduce ad-related latency by either chopping or dropping ads upon exceeding ad break duration.

    Learn more.

  • Ad Slate

    All slate, including ad slate, should be encoded using two second media segments.

    Learn more.

Automation / Playout System

Ad Break Notifications

Ensure that upcoming ad breaks are added to the video stream (e.g., via SCTE triggers) with sufficient lead time to allow the ad decisioning server to provide ad creatives to our service.

Adaptive Bitrate Streaming

Format

Both DASH and HLS are supported.

Cloud

Network Connection

If streaming to a cloud-based slicer, ensure optimal egress for your encoded media. Leverage newer streaming protocols such as SRT and RIST, with settings that limit the latency to the recommended minimal values based on the network round-trip time.

Select the Playback Latency

Default latency for Live Channels and Live Events is 60+ seconds. To reduce latency to ~15 seconds, refer to the Playback Latency for channels and events for setup instructions.

Latency options:

Default: ~60 seconds

Low: Low 20s, 5+ second buffering, Missing Content Slate (MCS) is possible

Lower: Upper teens, 2+ seconds buffering, MCS is possible

Lowest: As low as 15 seconds, minimal buffering, no MCS

Different protocols and platforms may affect latency beyond the control of Edgio.

Important Considerations:

More Information