Salesforce

SI2 Playback Segment Creator

« Go Back
Information
SI2 Playback Segment Creator
000004312
Public
Product Selection
aiWare - aiWare
Article Details

The playback segment creator creates playback segments (chunks) from an input stream into the TDO.

Engine propertyValue
ID352556c7-de07-4d55-b33f-74b1cf237f25
ModeStream
Input typeAny
I ‚Üí O
FieldsNone

If you have a URL for a media file and want to store as segments in the TDO for play back in Media Streamer:

Create a Webstream Adapter task to download the URL as a stream, then send the stream to this engine.

  tasks: [
    {
      # Webstream Adapter
      engineId: "9e611ad7-2d3b-48f6-a51b-0a1ba40fe255"
      payload: { url: "" }
      ioFolders: [
        { referenceId: "wsa-output", mode: stream, type: output }
      ]
    }
    {
      # Playback
      engineId: "352556c7-de07-4d55-b33f-74b1cf237f25"
      executionPreferences: { parentCompleteBeforeStarting: true }
      ioFolders: [
        { referenceId: "pb-input", mode: stream, type: input }
      ]
    }
  ]
  routes: [
    {
      parentIoFolderReferenceId: "wsa-output"
      childIoFolderReferenceId: "pb-input"
    }

If you want to create a brand new TDO and attach this stream as an asset to it, use the target field of the createJob call to trigger the creation of a new TDO. If you want to attach the stream as an asset to an existing TDO, use the targetId field of createJob.

If you are using launchSingleEngineJob instead, then provide the uploadUrl to create a new TDO and attach the stream to it.

Additional Technical Documentation Information
Properties
2/22/2024 11:50 PM
2/22/2024 11:50 PM
2/22/2024 11:50 PM
Documentation
Documentation
000004312
Translation Information
English

Powered by