Re: FireEvent problems
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Sat, 11 Aug 2007 13:16:14 GMT
On Fri, 10 Aug 2007 12:32:07 -0700, nsb7
<nsb7@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
WMS SDK is so confusing. Some samples says you cannot fire FireEvent on the
broadcase and some examples says you can.
You haven't provided references to the documentation you're reading,
so that assertion is impossible to verify. This page should be
canonical : http://msdn2.microsoft.com/en-us/library/ms753903.aspx
I am getting access to play list on the broadcast point by
playlist = player.WrapperPlayList
playlist returned is not null so I am calling the method
playlist.FireEvent("SoneString");
We can't see the example of the playlist you're using, so anything
could be happening. In addition, you've not outlined your use case so
it's not possible to evaluate even if this method is appropriate for
whatever-it-is you're trying to do.
Is there a Begin attribute in the playlist or the wrapper, which has a
value "SoneString" ? Should that read "SomeString" instead ? Please
try to be accurate when posting to avoid spending time in round-trip
posts.
but this gives me the ArgumentException expception saying "Value does not
fall within the expected range."
I don't understand. The method is expecting a string and I am passing one.
As noted in the document above, you cant just make up "any old
string", it has to correspond to the value of the begin attribute of
the media element you're operating on. Does it ?
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
.
- Prev by Date: Re: Limit on Width and Height with RGB color format
- Next by Date: Re: FireEvent problems
- Previous by thread: Limit on Width and Height with RGB color format
- Next by thread: Re: FireEvent problems
- Index(es):
Relevant Pages
|