| | |
| | | |
| | | package de.uhilger.calypso; |
| | | |
| | | import de.uhilger.calypso.handler.MPlayer; |
| | | import de.uhilger.calypso.handler.OMXPlayer; |
| | | import de.uhilger.calypso.handler.Player; |
| | | import de.uhilger.calypso.handler.VLCPlayer; |
| | |
| | | public static final String IP_PLAYER = "player"; |
| | | public static final String VLC_PLAYER = "vlc"; |
| | | public static final String OMX_PLAYER = "omx"; |
| | | public static final String M_PLAYER = "mpl"; |
| | | public static final String OMX_WD = "omx.wd"; |
| | | public static final String CTX = "ctx"; |
| | | |
| | |
| | | |
| | | String playerType = getInitParameter(IP_PLAYER); |
| | | switch(playerType) { |
| | | case M_PLAYER: |
| | | player = new MPlayer(); |
| | | break; |
| | | case VLC_PLAYER: |
| | | player = new VLCPlayer(); |
| | | break; |