Package org.red5.io.flv.meta
Class MetaCue<K,V>
- Type Parameters:
K
- key typeV
- value type
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Object>
,Map<String,
,Object> IMeta
,IMetaCue
Cue point is metadata marker used to control and accompany video playback with client-side application events.
Each cue point have at least one attribute, timestamp. Timestamp specifies position of cue point in FLV file.
Cue points are usually used as event triggers down video flow or navigation points in a file. Cue points are of two types:
To add cue point trigger event listener at client-side in Flex/Flash application, use NetStream.onCuePoint event handler.
Cue points are usually used as event triggers down video flow or navigation points in a file. Cue points are of two types:
- Embedded into FLV or SWF
- External, or added on fly (e.g. with FLVPlayback component or ActionScript) on both server-side and client-side.
To add cue point trigger event listener at client-side in Flex/Flash application, use NetStream.onCuePoint event handler.
- Author:
- The Red5 Project, Dominick Accattato (daccattato@gmail.com), Luke Hubbard, Codegent Ltd (luke@codegent.com)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MetaCue
public MetaCue()CuePoint constructor
-
-
Method Details
-
setName
Sets the name -
getName
Gets the name -
setType
Sets the type type can be "event" or "navigation" -
getType
Gets the type -
setTime
public void setTime(double d) Sets the time -
getTime
public double getTime()Gets the time -
compareTo
- Specified by:
compareTo
in interfaceComparable<K>
-
toString
- Overrides:
toString
in classAbstractMap<String,
Object>
-