What's the cleanest way to add advertisements and timeline markers to the current playlist item?

Apr 22, 2013 at 1:40 PM
I'm trying to add timeline media markers and advertisements in real time to a SMFPlayer. I realize that once a PlaylistItem acquires the "Current State" the changes made to the object doesn't reflect in the transmission. I've done a couple of tricks(replaying and seeking, creating a PlaylistItem copy with new assets and make it the current ) to win that round but I'm not happy with them. I'm kind of newbie with SMFPlayer but I like to know a cleaner ways to achieve that.