org.dvb.media.monitoring
Class StreamQualityChangeEvent
java.lang.Object
java.util.EventObject
org.dvb.media.monitoring.MonitoringEvent
org.dvb.media.monitoring.StreamQualityChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class StreamQualityChangeEvent
- extends MonitoringEvent
Event is signalling that quality of the associated CoD has been
changed.
This event shall occur when adaptive streaming changes played stream to
another stream with a different video resolution and/or stream's
bitrate because of changing network conditions.
- See Also:
- Serialized Form
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StreamQualityChangeEvent
public StreamQualityChangeEvent(java.lang.Object source,
StreamQualityInfo newStreamQuality)
- Construct the event.
- Parameters:
source
- the source of the event. The platform shall always pass in the
JMF Player presenting the media whose property has been changednewStreamQuality
- the new value of quality of the stream
getStreamQuality
public StreamQualityInfo getStreamQuality()
- Get the new quality of associated CoD.
- Returns:
- the new stream's quality