ios - Is it a good idea to use HLS for short videos (max 15 seconds)? -


i'm building ios app stream videos maximum length of 15 seconds. read things hls, i've been transcoding videos segment size of 5 seconds. it's if first part of video takes long load, can fall lower quality next 10 seconds.

however, i'm not sure if added complexity worth it. main disadvantage need transcode additional videos web. problem avplayer on ios black box, , difficult or impossible build features such caching segments disk, or re-using bandwidth measurements between videos. think have build our own hls player scratch can have these features, , take lot of effort.

if videos 15 seconds long may overkill use hls. yes avplayer blackbox , in experience haven't seen handing bitrate switching after playing 1 segment. think behaves in opposite way, i.e. starts playing lower bitrate , bumps higher bitrates (not sure one).

about writing custom player, can send requests avplayer through local http proxy , try put intelligent caching logic there. have seen apps doing drm protected content doing non-drm content may not approved app-store.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -