HLS on Android

For Android devices to play HLS stream properly you have to assign application/vnd.apple.mpegurl content type to m3u8 playlist.

location /hls {
    types {
        application/vnd.apple.mpegurl m3u8;
    }
    alias /tmp/hls;
}

I want to thank module users in nginx-rtmp-ru google group for this solution.

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: