segmented_​media_​optimization

Version: v2025-01-13Includes use: Yes

Behavior name: Segmented Media Delivery Mode

Optimizes segmented media for live or streaming delivery contexts.

Default behavior

These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.

data "akamai_property_rules_builder" "segmented_media_optimization" {
  rules_v2025_02_18 {
    name     = "Segmented Media Delivery Mode"
    comments = "Optimizes segmented media for live or streaming delivery contexts."
    behavior {
      segmented_media_optimization {
        behavior = "ON_DEMAND"
      }
    }
  }
}
"behaviors": [
  {
    "name": "segmentedMediaOptimization",
    "options": {
      "behavior": "ON_DEMAND"
    }
  }
]

Options

Option Description
behavior
Sets the type of media content to optimize. Value is one of:
  • ON_DEMAND. Media is available on demand. This is the only option allowed for NetStorage origins.
  • LIVE. Media is streaming live.
enable_ull_streaming
Enables ultra low latency (ULL) streaming. ULL reduces latency and decreases overall transfer time of live streams.
show_advanced
Allows you to configure advanced media options.
live_type
The type of live media. Value is one of:
  • CONTINUOUS. Not confined to a range of time.
  • EVENT. An event for a range of time.
start_time
This specifies when the live media event begins.
end_time
This specifies when the live media event ends.
dvr_type
The type of DVR. Value is one of:
  • CONFIGURABLE. A configurable DVR.
  • UNKNOWN. An unknown DVR.
dvr_window
Sets the duration for your media in minutes.
  • Use 0m if a DVR is not required.
  • Default is 30m.