Comments

altarvic wrote on 12/21/2012, 8:36 AM

TrackEvent evnt = ...; // create an event
MediaStream mediaStream = .....; // read the desired media stream from media object

var activeTake = new Take(mediaStream);
evnt.Takes.Add(activeTake, true);
Gary James wrote on 12/21/2012, 9:59 AM
Thanks for the info.

The second parameter in the Takes.Add ( take ) function call does not appear to be supported in the older pre SVP 11 API. Is this the only way you know of to make the newly added Take the Active Take?
altarvic wrote on 12/22/2012, 4:38 AM
oops, I made a mistake, that's the correct code:


evnt.AddTake(activeTake, true)
Gary James wrote on 12/22/2012, 9:54 AM
That worked perfectly. Thanks.