class M3U8::MediaItem

Overview

MediaItem represents a set of EXT-X-MEDIA attributes

Included Modules

Extended Modules

Defined in:

m3u8/media_item.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(params : NamedTuple = NamedTuple.new) #

[View source]
def self.new(type = nil, group_id = nil, language = nil, assoc_language = nil, name = nil, uri = nil, autoselect = nil, default = nil, forced = nil, instream_id = nil, characteristics = nil, channels = nil) #

[View source]

Class Method Detail

def self.parse(text) #

[View source]

Instance Method Detail

def assoc_language : String? #

[View source]
def assoc_language=(assoc_language : String?) #

[View source]
def autoselect : Bool? #

[View source]
def autoselect=(autoselect : Bool?) #

[View source]
def channels : String? #

[View source]
def channels=(channels : String?) #

[View source]
def characteristics : String? #

[View source]
def characteristics=(characteristics : String?) #

[View source]
def default : Bool? #

[View source]
def default=(default : Bool?) #

[View source]
def forced : Bool? #

[View source]
def forced=(forced : Bool?) #

[View source]
def group_id : String? #

[View source]
def group_id=(group_id : String?) #

[View source]
def instream_id : String? #

[View source]
def instream_id=(instream_id : String?) #

[View source]
def language : String? #

[View source]
def language=(language : String?) #

[View source]
def name : String? #

[View source]
def name=(name : String?) #

[View source]
def to_s #

[View source]
def type : String? #

[View source]
def type=(type : String?) #

[View source]
def uri : String? #

[View source]
def uri=(uri : String?) #

[View source]