TV Kitchen Appliance Core
This package contains core classes for use by TV Kitchen Appliances and code that interacts with TV Kitchen Appliances.
This package has some supporting classes, but the content that will be relevant to others are:
AbstractApplianceis a class which all TV Kitchen Appliances should extend and implement.
AbstractVideoIngestionApplianceis a class that converts an arbitrary video input stream into properly decorated STREAM.CONTAINER Payloads.
Implementing an Abstract Appliance
An implemented TV Kitchen Appliance must override the following methods which are outlined in the IAppliance interface:
getInputTypes: returns an array of strings that represent the data types that the appliance accepts.
getOutputTypes: returns an array of strings that represent the data types that the appliance produces.
isValidPayload: returns a boolean indicating if a given
Payload(instance of data) meets the conditions of the appliance.
invoke: will actually process the data that has been collected by the appliance so far.
Implementing an Abstract Video Ingestion Appliance
An implemented TV Kitchen Video Ingestion Appliance must override the following methods:
getInputStream: returns an ReadbleStream to a video.
If you override
audit please be sure to call super.audit() as well.