MediaPlayerSample
------------------
The MediaPlayerSample is used to test Player APIs. It takes a multimedia file as an input and plays back video
and audio on Nintendo Switch hardware.


How to run MediaPlayerSample:
------------------------------
<mediaPlayerSample executable> <media path> <optional parameters>
	or
<mediaPlayerSample executable> -u <url file path> <optional parameters> 
	where <url file path> is the path to a text file containing a path to a file (local or network)

Example: (Media Sample from Host PC)
	MediaPlayerSample.nsp c:\H264_AAC_1280x720_30sec_01.mp4
Example: (Media Sample from SDCARD)
	MediaPlayerSample.nsp sdcard:/H264_AAC_1280x720_30sec_01.mp4

<optional parameters>
	-a 1 play audio track
	-a 0 Do not play audio track
	-v 1 play video track
	-v 0 Do not play video track
	-r <rate> playback rate. Example: -r 2.0 
	-l 0 Disable loop mode
	-l 1 Enable loop mode
	-h 0 Disable heap tracking
	-h 1 Enable heap tracking
	-dm 1 Enables movie::VideoDecodeMode_Cpu mode
	-dm 2 Enables movie::VideoDecodeMode_NativeTexture mode
	-ur 0 Restrict HLS resolution to 720p (default)
	-ur 1 Unrestricted HLS resolution
	-c <path to config file>
	-vol <volume> Volume range - [0.0 to 4.0]. Example: -vol 0.8 (Any volume above 1.0 may cause audio distortions)

Controller inputs:
-------------------
Playback can be controlled via a Joy-Con or Classic Controller using the following buttons:
	A Button - Pause/Play
	B Button - Stop
	X Button - Resets playback rate
	Y Button - Prints current playback rate
	Right Button - Seek forward 1.0
	Left Button - Seek back 2.0
	Up Button - Set volume to 1.0 (unmute)
	Down Button - Set volume to 0.0 (mute)
	R Button - Seek ahead 10 seconds
	L Button - Seek back 15 seconds
	ZR Button - Cycles through predefined playback rates
	L Stick - Seek quickly forward or back 1 second increment 
	R Stick - Adjusts playback rates continuously: left decreases the rate down to 0.05x, right increases the rate up to 4x


Config file:
------------
Below is an example of the config file based off of the MediaPlayerSample default values:
USE_PROXY=0
PROXY_SETTING_HOST=proxy-host.com
PROXY_SETTING_PORT=8080
PROXY_SETTING_USERPWD=UserName:Password
PROXY_SETTING_AUTH=CURLAUTH_BASIC
