This topic describes the integration flow for bypass stream ingest.
Prerequisites
You have set up the ApsaraVideo Real-time Communication (RTC) SDK. For more information, see Overview.
You have enabled the bypass stream ingest service in the console. For more information, see Enable the bypass stream ingest service.
You have activated ApsaraVideo Live and generated an ingest URL. For more information, see Activate ApsaraVideo Live and Generate streaming URLs.
Integration flow
Step | Operation | Description |
1 | Start the task | Call StartMPUTask to start the task. |
2 | Bypass stream ingest (automatic) | In the ApsaraVideo Live console, ingest the stream using the ingest URL. For more information, see Stream Ingest Settings and Operations. |
3 | End the task | The task stops automatically 30 seconds after the last user leaves the channel. You can also call StopMPUTask to stop the task. |
After a bypass stream ingest task starts, you can call GetMPUTaskStatus to retrieve the task status, or call UpdateMPUTask once after the task starts to update the task layout.