Class KlvService
java.lang.Object
org.codice.alliance.video.stream.mpegts.klv.KlvService
- All Implemented Interfaces:
KlvConsumer,KlvStreamService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the current klv data mappings organized by parent stream id.Get the collection of all active streams with klv data that have the given key defined in their properties.getStreamsKlvByParam(String key, String value) Get the current klv data mappings associated with the given parent id.voidpostKlvForStream(KlvData klvData) Post video stream klv data
-
Constructor Details
-
KlvService
public KlvService()
-
-
Method Details
-
postKlvForStream
Description copied from interface:KlvConsumerPost video stream klv data- Specified by:
postKlvForStreamin interfaceKlvConsumer- Parameters:
klvData- The klv data to post
-
getStreamsKlvByParam
Description copied from interface:KlvStreamServiceGet the current klv data mappings associated with the given parent id.- Specified by:
getStreamsKlvByParamin interfaceKlvStreamService- Parameters:
key- the klv properties keyvalue- the klv property value to filter on- Returns:
- The current klv data the streams with matching key/value. Will return an empty collection if no klv has been reported recently for the parameters.
-
getAllStreamsKlvByParent
Description copied from interface:KlvStreamServiceGet the current klv data mappings organized by parent stream id.- Specified by:
getAllStreamsKlvByParentin interfaceKlvStreamService- Returns:
- The current klv data map for the stream. Will return an empty map if no klv has been reported recently for any streams.
-
getAllStreamsKlvWithParam
Description copied from interface:KlvStreamServiceGet the collection of all active streams with klv data that have the given key defined in their properties.- Specified by:
getAllStreamsKlvWithParamin interfaceKlvStreamService- Returns:
- A map of klv data maps by the passed in key
-