Class AbstractStreamImpl
java.lang.Object
org.opencastproject.mediapackage.track.AbstractStreamImpl
- All Implemented Interfaces:
ManifestContributor,Stream
- Direct Known Subclasses:
AudioStreamImpl,SubtitleStreamImpl,VideoStreamImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCommonManifestElements(Element node, Document document, MediaPackageSerializer serializer) Return an identifier that identifies a stream within it's track.protected static voidpartialFromManifest(AbstractStreamImpl stream, Node node, XPath xpath) voidsetCaptureDevice(String capturedevice) voidsetCaptureDeviceVendor(String captureDeviceVendor) voidsetCaptureDeviceVersion(String capturedeviceVersion) voidsetEncoderLibraryVendor(String encoderLibraryVendor) voidvoidsetFormatVersion(String formatVersion) voidsetFrameCount(Long frameCount) voidsetIdentifier(String identifier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencastproject.mediapackage.ManifestContributor
toManifest
-
Field Details
-
identifier
-
device
protected org.opencastproject.mediapackage.track.AbstractStreamImpl.Device device -
encoder
protected org.opencastproject.mediapackage.track.AbstractStreamImpl.Encoder encoder -
frameCount
-
-
Constructor Details
-
AbstractStreamImpl
protected AbstractStreamImpl() -
AbstractStreamImpl
-
-
Method Details
-
getIdentifier
Description copied from interface:StreamReturn an identifier that identifies a stream within it's track.- Specified by:
getIdentifierin interfaceStream
-
setIdentifier
-
getCaptureDevice
-
getCaptureDeviceVersion
-
getCaptureDeviceVendor
-
getFrameCount
- Specified by:
getFrameCountin interfaceStream
-
getFormat
-
getFormatVersion
-
getEncoderLibraryVendor
-
setCaptureDevice
-
setCaptureDeviceVersion
-
setCaptureDeviceVendor
-
setFrameCount
-
setFormat
-
setFormatVersion
-
setEncoderLibraryVendor
-
partialFromManifest
protected static void partialFromManifest(AbstractStreamImpl stream, Node node, XPath xpath) throws IllegalStateException, XPathException - Throws:
IllegalStateExceptionXPathException
-
addCommonManifestElements
protected void addCommonManifestElements(Element node, Document document, MediaPackageSerializer serializer)
-