CPC H04L 67/62 (2022.05) | 19 Claims |
1. A method performed by at least one processor that implements a network-based media processing (NBMP) workflow manager, the method comprising:
sending, to an NBMP client, first information indicating that the NBMP workflow manager supports a scheme mode for scheduling an NBMP workflow;
receiving, from the NBMP client, second information indicating the scheme mode for scheduling the NBMP workflow;
obtaining the scheme mode based on the second information;
scheduling tasks of the NBMP workflow to be executed to process media in accordance with the scheme mode indicated in the second information,
wherein the scheme mode indicated in the second information and indicated to be supported by the NBMP workflow manager in the first information is:
a first scheme mode in which each task of the NBMP workflow is executed once for an entirety of an input of the task,
a second scheme mode in which each task of the NBMP workflow is executed for a predetermined duration of the input of the task or for a predetermined duration of an output of the task,
a third scheme mode in which each task of the NBMP workflow is started based on a start event or stopped based on a stop event, or
a fourth scheme mode in which each task of the NBMP workflow is started according to a predetermined schedule, wherein the predetermined schedule includes time slots for executing the tasks; and
performing the scheduled tasks of the NBMP workflow, wherein
the scheme mode indicated in the second information, and indicated to be supported by the NBMP workflow manager in the first information, is the first scheme mode,
the receiving the second information comprises, receiving, from the NBMP client, a syntax element with a first value indicating the first scheme mode for scheduling a first plurality of tasks of the NBMP workflow, the first value being the second information,
the method further comprises:
receiving, from the NBMP client, the syntax element with a second value indicating the second scheme mode for scheduling a second plurality of tasks of the NBMP workflow;
scheduling the second plurality of tasks of the NBMP workflow to be executed to process media in accordance with the second scheme mode indicated by the second value;
receiving, from the NBMP client, the syntax element with a third value indicating the third scheme mode for scheduling a third plurality of tasks of the NBMP workflow;
scheduling the third plurality of tasks of the NBMP workflow to be executed to process media in accordance with the third scheme mode indicated by the third value;
receiving, from the NBMP client, the syntax element with a fourth value indicating the fourth scheme mode for scheduling a fourth plurality of tasks of the NBMP workflow;
scheduling the fourth plurality of tasks of the NBMP workflow to be executed to process media in accordance with the fourth scheme mode indicated by the fourth value, and
the first value, the second value, the third value, and the fourth value of the syntax element are different values from each other.
|