Select audio track

Aug 5, 2010 at 11:09 PM

How do i select which audio track to play in a mp4 file?

 

<Core:SMFPlayer.Playlist>
                <Media:PlaylistItem    SelectedAudioStreamName="0" MediaSource="http://localhost/testvob.mp4"/>
</Core:SMFPlayer.Playlist>

I tried to set SelectedAudioStreamName="0" or "1" but it didn't work.

 

Oct 5, 2010 at 2:01 PM

Hi,

Is there any solutions to this problem ? I'm trying also to set audio track to play but it doesn't work also :/

this.CurrentPlaylistItem.SelectedAudioStreamLanguage = MyAudioStreamLanguage;

and AvailableAudioStreams is empty ...

 

thx