Get list of Stream Events?

Hi everyone, I am beginning to have a little fight with Stream Event Objects, as I would like to synchronise A/V events with my MHP app.

We are currently using dsmcc-tools from the linuxtv page to create our AIT+OC, and just discovered we can also create Stream Event descriptors... Not sure yet how it works, but I am taking a look.

But when coming to code, how could I easily make sure I am really emitting those descriptors? I could see there is a getEventList() defined in DSMCCStreamEvent class, but I don't really know how or where to call this method...?

Any kind of help is very welcome

Thanks a lot!

[640 byte] By [Raul-a] at [2007-10-2 4:51:21]
# 1

you can subscribe to an event!

streamEvent.subscribe(event, this);

where 'event' is one of the events you geht from getEventList and 'this' is the StreamEventListener you have to implement.

finally there is the method

public void userEventReceived(UserEvent event)

that is called when an event occurs.

that should be everything. but actually i've never tested it :(

please reply if it does

_elBoB_a at 2007-7-16 0:55:44 > top of Java-index,Java Mobility Forums,Consumer and Commerce...