pub fn hls(&self, client: &Client, bit_rates: &[u64]) -> Result<HlsPlaylist> {
        let args = Query::with("id", self.id)
            .arg_list("bitrate", bit_rates)
            .build();

        let raw = client.get_raw("hls", args)?;
        Ok(raw.parse::<HlsPlaylist>()?)
    }
/// Creates an HLS (HTTP Live Streaming) playlist used for streaming video
/// or audio. HLS is a streaming protocol implemented by Apple and works by
/// breaking the overall stream into a sequence of small HTTP-based file
/// downloads. It's supported by iOS and newer versions of Android.
///
///  Returns an M3U8 playlist on success (content type
///  "application/vnd.apple.mpegurl").
///
/// The method also supports adaptive streaming; when supplied with multiple
/// bit rates, the server will create a variable playlist, suitable for
/// adaptive bitrate streaming. The playlist will support streaming at all
/// the specified bitrates. The `bit_rate` parameter can be omitted (with an
/// empty array) to disable adaptive streaming, or given a single value to
/// force streaming at that bit rate.
Creates an HLS (HTTP Live Streaming) playlist used for streaming video
or audio. HLS is a streaming protocol implemented by Apple and works by
breaking the overall stream into a sequence of small HTTP-based file
downloads. It's supported by iOS and newer versions of Android.

Returns an M3U8 playlist on success (content type
"application/vnd.apple.mpegurl").

The method also supports adaptive streaming; when supplied with multiple
bit rates, the server will create a variable playlist, suitable for
adaptive bitrate streaming. The playlist will support streaming at all
the specified bitrates. The `bit_rate` parameter can be omitted (with an
empty array) to disable adaptive streaming, or given a single value to
force streaming at that bit rate.
Creates an HLS ( HTTP Live Streaming ) playlist used for streaming video or audio . HLS is a streaming protocol implemented by Apple and works by breaking the overall stream into a sequence of small HTTP - based file downloads . It ' s supported by iOS and newer versions of Android . Returns an M3U8 playlist on success ( content type " application / vnd . apple . mpegurl " ) . The method also supports adaptive streaming ; when supplied with multiple bit rates the server will create a variable playlist suitable for adaptive bitrate streaming . The playlist will support streaming at all the specified bitrates . The ` bit_rate ` parameter can be omitted ( with an empty array ) to disable adaptive streaming or given a single value to force streaming at that bit rate .
pub fn hls(&self, client: &Client, bit_rates: &[u64]) -> Result<HlsPlaylist> {
        let args = Query::with("id", self.id)
            .arg_list("bitrate", bit_rates)
            .build();
        let raw = client.get_raw("hls", args)?;
        Ok(raw.parse::<HlsPlaylist>()?)
    }
pub fn hls ( & self , client : & Client , bit_rates : & [ u64 ] ) -> Result < HlsPlaylist > { let args = Query :: with ( " " , self . id ) . arg_list ( " " , bit_rates ) . build ( ) ; let raw = client . get_raw ( " " , args ) ? ; Ok ( raw . parse :: < HlsPlaylist > ( ) ? ) }
Creates an HLS (HTTP Live Streaming) playlist used for streaming video
or audio.
Creates an HLS ( HTTP Live Streaming ) playlist used for streaming video or audio .
&self
client
&Client
bit_rates
&[u64]
&self
client
&Client
bit_rates
&[u64]