Media Server 25.1
Media Server Help

# Stop Processing

When you process a file, the `process` action finishes when Media Server reaches the end of the file. However, you might be processing a video stream that does not end. In this case, you might want to stop processing.

To stop processing video

- Use the `QueueInfo` action, with the following parameters:

  `QueueName` | The name of the queue. Processing is initiated using the `process` action, so set `QueueAction=process`.
  `QueueAction` | The action to perform on the queue. To stop processing, set `QueueAction=stop`.
  `Token` | (Optional) The token for the request that you want to stop. If you don't specify a token, Media Server stops the task that is currently processing.

  For example,

      http://localhost:14000/action=queueinfo
                                &queuename=process
                                &queueaction=stop
                                &token=MTAuMi4xMDQuODI6MTQwMDA6UFJPQ0VTUzoxMTgzMzYzMjQz

  Media Server returns a response stating whether the request was successfully completed.

To stop processing automatically

- To stop processing automatically after a specified amount of video has been ingested, use the `MaximumDuration` parameter in your video ingest task.
- You can stop a `process` action automatically when the processing time exceeds a specified time duration, by setting the `timeout` parameter in your `process` action request.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.1

Topic Title: Stop Processing