MediaPlayerTest:
------------------

MediaPlayerTest is used to test Player API's. It takes .mp4 file as an input and 
plays back video on NX hardware. It was originally a sample but has been ported
to a test for conformance testing.


How to build MediaPlayerTest:
------------------------------
	time nact platforms=NXFP2-a32,NXFP2-a64 specs=NX BUILD=Develop,Release -d Tests/Multimedia/Sources/Tests/MediaPlayerTest


How to run Mediaplayer sample:
------------------------------
	Can be run via Visual Studio using the accompanying VS project.
	or,
	Tools/CommandLineTools/RunOnTarget Tests/Outputs/NX-NXFP2-a64/Tests/testMultimedia_MediaPlayerTest/Develop/testMultimedia_MediaPlayerTest.nsp <sdk>/Externals/multimedia/data/mp4/5s_h264_1080x1920_5_1_aac_2ch.mp4
	or run from the NintendoTargetManager directly.
	The first command-line parameter is the absolute path to a media file. Any file supported by the nn::mm::Player should work.

Command line inputs:
--------------------

 <mediaplayer sample executable> <media path> <optional parameters>

 <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. Allowed rate: 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 2.0

-l 0 Disable loop mode
-l 1 Enable loop mode

-c <path to config file>

-clock 0 Disable clock measurement code 
       1 Enable clock measurement code

-return-audio-data-to-client
	Causes audio data to be dumped into C:\Temp (if you get a MountHost crash, check for the existence of C:\Temp)

Classic Controller:
-------------------

Playback can be controlled via a Classic Controller and using the following buttons:
a - Pause/Play
b - Stop
+Control Pad Right - Seek forward
+Control Pad Left - Seek back
R - Seek ahead 15 seconds
L - Seek back 10 seconds

L Stick - Seek quickly forward or back

Config file:
------------

Here's an example list of things that go into the config file. These are also the defaults.
USE_PROXY=0
PROXY_SETTING_HOST=proxy-host.com
PROXY_SETTING_PORT=8080
PROXY_SETTING_USERPWD=UserName:Password
PROXY_SETTING_AUTH=CURLAUTH_BASIC
