|
Java TV(tm) API 1.0 | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
PushSourceStream2 | The PushSourceStream2 interface identifies a
SourceStream that pushes asynchronous data. |
Exception Summary | |
DataLostException | Signals that streaming data has been lost. |
Provides access to generic streaming data in the television broadcast. Asynchronous streaming data can be obtained using the JMF extension javax.tv.media.protocol.PushSourceStream2.
A Java TV API application typically refers to an individual data service component using a javax.tv.locator.Locator object. Using the method Locator.toExternalForm(), an application converts the Locator object into a string from which a javax.media.MediaLocator object is constructed. The resulting MediaLocator object is then used to obtain a javax.media.DataSource object from javax.media.Manager. Then, the DataSource is used to obtain one or more PushSourceStream2 instances.
The interface PushSourceStream2 extends the JMF 1.0 interface
javax.media.protocol.PushSourceStream
with a new read mechanism. The method PushSourceStream2.readStream()
provides access to the payload of the data and throws exceptions to indicate
data loss. No guarantees are made concerning buffering or availability
of the data obtained through
PushSourceStream2.
|
Java TV(tm) API 1.0 | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |