Search in sources :

Example 1 with CreateMetacardRolloverAction

use of org.codice.alliance.video.stream.mpegts.rollover.CreateMetacardRolloverAction in project alliance by codice.

the class RolloverStreamCreationPlugin method doOnCreate.

@Override
protected void doOnCreate(Context context) throws StreamCreationException {
    UdpStreamProcessor udpStreamProcessor = context.getUdpStreamProcessor();
    udpStreamProcessor.setRolloverAction(new ListRolloverAction(Arrays.asList(new CreateMetacardRolloverAction(udpStreamProcessor.getMetacardTypeList()), new CatalogRolloverAction(udpStreamProcessor.getFilenameGenerator(), udpStreamProcessor.getFilenameTemplate(), udpStreamProcessor.getCatalogFramework(), context, udpStreamProcessor.getParentMetacardUpdater(), udpStreamProcessor.getUuidGenerator()))));
}
Also used : CatalogRolloverAction(org.codice.alliance.video.stream.mpegts.rollover.CatalogRolloverAction) CreateMetacardRolloverAction(org.codice.alliance.video.stream.mpegts.rollover.CreateMetacardRolloverAction) UdpStreamProcessor(org.codice.alliance.video.stream.mpegts.netty.UdpStreamProcessor) ListRolloverAction(org.codice.alliance.video.stream.mpegts.rollover.ListRolloverAction)

Aggregations

UdpStreamProcessor (org.codice.alliance.video.stream.mpegts.netty.UdpStreamProcessor)1 CatalogRolloverAction (org.codice.alliance.video.stream.mpegts.rollover.CatalogRolloverAction)1 CreateMetacardRolloverAction (org.codice.alliance.video.stream.mpegts.rollover.CreateMetacardRolloverAction)1 ListRolloverAction (org.codice.alliance.video.stream.mpegts.rollover.ListRolloverAction)1