Skip to content

Function: getHlsCodec() ​

ts
function getHlsCodec(type, codecs?): string;

Defined in: mapper/hls/mapHlsToHam/utils/getHlsCodec.ts:10

Alpha

Get the codec for a type of content.

Parameters ​

type ​

string

Type of the content to get the codecs from

codecs? ​

string

String containing multiple codecs separated with commas

Returns ​

string

string containing codec

A Streaming Video Technology Alliance project.