Terminating the WebRTC stream

There is currently no automatic termination of the Kit Application stream. The Kit Application will continue running within the POD until the stream is actively terminated by calling DELETE /stream with the stream id in the response body.

DELETE /stream/{session_id} - Terminate a streaming session

Terminate a specific streaming session identified by its session ID.

Response Details by Status

The session was successfully terminated.

You do not have permission to terminate this session.

The requested session was not found.

The request contained invalid input.

You must ensure there is logic within your client application to ensure that streams are terminated properly. This can easily result in resource over-utilization, potentially resulting in the inability to start new streams.