The name of a Lua script that defines a function with the name "pred
". The function specifies conditions to judge a record or record pair against. The function returns a Boolean value; the engine's response to the function result depends on the engine.
Engine type | Engine response if the function returns true |
---|---|
And | The record pair is included in the engine output track. |
AndNot | The record in the first track is discarded. (Records from the second track are never included in the output anyway.) |
AndNotThen | The record in the first track is discarded. (Records from the second track are never included in the output anyway.) |
AndThen | The record pair is included in the engine output track. |
Deduplicate | The second record is discarded. |
Filter | The record is included in the engine output track. |
For more information about writing Lua scripts for ESP processing, refer to the Media Server Administration Guide.
Type: | String |
Default: | |
Required: | No |
Configuration Section: | TaskName |
Example: | LuaScript=breakingnews.lua
|
See Also: |
|