e>.</p>
<h2 id="return">Return</h2>
<p><a href="../../public_flutter_sound_player/FlutterSoundPlayer/startPlayer.html">startPlayer()</a> returns a Duration Future, which is the record duration.</p>
<h2 id="examples">Examples</h2>
<p><em>Example:</em></p>
<pre class="language-dart"><code class="language-dart">        Duration d = await myPlayer.startPlayer(
            codec: Codec.aacADTS,
            fromURI: 'foo'
        ); // Play a temporary file

        _playerSubscription = myPlayer.onProgress.liste