public class NPTDiscontinuityEvent extends NPTStatusEvent
Where the timebase is delivered using NPT, this event shall be sent
following a PCR discontinuity when the MHP terminal has enough
information to determine that there will be an NPT discontinuity.
If the NPTDiscontinuityEvent is because of invalid data in a new
NPTReferenceDescriptor then the event will be generated when that
new NPTReferenceDescriptor is detected by the MHP terminal. If the NPTDiscontinuityEvent
is because no new NPTReferenceDescriptor is detected within the time
allowed by the main body of the present document then it will be generated
when that time interval has elapsed.
source| Constructor and Description |
|---|
NPTDiscontinuityEvent(DSMCCStream source,
long before,
long after)
Construct an event.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getFirstNPT()
Return the first known stable value of NPT after the discontinuity
|
long |
getLastNPT()
Return the last known stable value of NPT before the discontinuity
|
getSourcetoStringpublic NPTDiscontinuityEvent(DSMCCStream source, long before, long after)
before and after values
used shall be the values at the time when the receiver determined that a
NPT discontinuity has happened. If the NPTDiscontinuityEvent is because of invalid data in a
new NPTReferenceDescriptor then this is the time when that new
descriptor was known to be invalid. If NPTDiscontinuityEvent is because of the absence of
a new NPTReferenceDescriptor then this will be when the MHP terminal
detects that the time interval allowed by the present document for such
new descriptors has elapsed. Where an NPT value is unknown or cannot be computed, -1 shall be used.source - the stream whose NPT suffered a discontinuitybefore - the last NPT value detected before the discontinuity or -1 for DVB timelinesafter - the first NPT value detected after the discontinuity or -1 for DVB timelinespublic long getLastNPT()
public long getFirstNPT()
Copyright © 2012 code4tv.com. All Rights Reserved.