I've encountered something that I think is a bug in SMFPlayer.
I have a single SMFPlayer instance in a UserControl. In the XAML, it has this setup: AutoPlay="False" AutoLoad="True". It hasn't got any item in its playlist.
When I have picked a file to play in my application, I create a new PlaylistItem as appropriate, then add it:
PlaylistItem item = new PlaylistItem();
item.MediaSource = (DataContext as Video).MediaUri;
item.ThumbSource = (DataContext as Video).ImageUri;
item.DeliveryMethod = DeliveryMethods.AdaptiveStreaming;
If I do just that, the Player will start playing as soon as it gets the stream. The AutoPlay property stays false when in breakpoints, so it's not set elsewhere.
I've found a workaround currently: I use AddPlayBlock(object) and ReleasePlayBlock(object) to hold it until I want it to play, but it feels wrong.
Has anybody encountered this issue as well? Should I file a bug?