WWW::SVT::Play::Utils, helper functions for WWW::SVT::Play
This module contains some helper functions for use in other parts of the WWW::SVT::Play application.
Given an SVT Play internal name for a protocol (or playerType), return the corresponding protocol name for it. E.g., flash gives you 'hds'.
Note: For the internal format "flash", it can be either HDS or RTMP. You can determine this by looking at the protocol scheme used by the URL. If it's RTMP, it's RTMP (duh), and if it's HTTP, it's HDS. This function will return 'hds' either way.
Given a protocol nicename (e.g. HLS), return the SVT Play internal name (for HLS, it's "ios"). That is, the opposite of what playertype_map is doing.
Copyright (c) 2012 - Olof Johansson <email@example.com> All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.