Advertising in SMFPlayer

Oct 27, 2010 at 9:51 AM

I use SMFPlayer to play adaptive video. I added advertisement and it plays good. But in the advertising event handlers I cann't get any information about advertising clip. When I looked into the sources I found following.

When events raised player creates AdContext instance with constructor:

public AdContext(ClipContext clipContext)
if (clipContext == null) throw new ArgumentNullException("clipContext");
_clipContext = clipContext;

Then I try to get adv source uri using this code:

public Uri AdSource
get { return _scheduledAd.ClipInformation.ClipUri; }

But _sheduledAd is equal null at this time :( Why?