Skip to main content

An event that fires when a PMT roll happens while tuned to a channel?

2 replies [Last post]
david_crandall
Offline
Joined: 2010-01-05
Points: 0

If the audio or video format changes, typically through a PMT roll while tuned to a channel, the ServiceList from the SIManager is supposed to change, from my understanding. Basically a full 'update' of tables.

Now, if this happens, I assume the highest layers of applications would want to be notified. In theory the channel map could have changed, etc. Is there an event that is supposed to be sent throughout the java application areas, and if so, could someone be so kind as to point me in the right direction?

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pmodem
Offline
Joined: 2008-12-17
Points: 0

There are two different ways of receiving notifications of a PMT change.

1. If for the given Service the corresponding ServiceDetails is known you can register a listener to monitor changes to ServiceComponents that are part of this ServiceDetails.
using
ServiceDetails.addServiceComponentChangeListener(ServiceComponentChangeListener listener)

2. You can also register a listener via org.ocap.si.ProgramMapTable.addInBandChangeListener(TableChangeListener listener, Locator locator)

The locator here identifies the Service (PMT) you are monitoring.

Hope this helps.

david_crandall
Offline
Joined: 2010-01-05
Points: 0

My kindest and happiest thanks!