Audio captions InitParams

Oct 25, 2010 at 6:45 AM

HI everyone,

I want to initialize my player like the encoder template style :

<param name='initParams' value='selectedcaptionstream=textstream_eng,mediaurl=/>

How can I change the 'selectedcaptionstream' in the smf?

There is a SelectedCaptionStream property, but it is a StreamMetaData.

 How can I do this? smfPlayer.SelectedCaptionStream = new StreamMetaData() ?


Dec 14, 2010 at 8:46 AM

I'd like to know this too.  How can you switch caption streams without stopping the currently playing item?


Thanks for any help

Dec 14, 2010 at 1:50 PM

It seems there are two public properties on the player:



Select a stream from the AvailableCaptionStreams and set it to SelectedCaptionStream.

When you do it does weird things with the visibility of the CaptionsPresenter but it seems to reset itself if you do this:

SmfSubsPlayer.CaptionsVisibility = FeatureVisibility.Hidden;
SmfSubsPlayer.CaptionsVisibility = FeatureVisibility.Visible;