v1

latestOpenAPI 3.1.02026-07-178964200.5 KB
Stream

On Publish

SRS on_publish webhook — creates or resumes a stream session artifact.

This endpoint is called by SRS from inside the Docker network. It is not protected by the standard user-auth middleware. The stream key in the payload serves as the credential.

SRS expects a {"code": 0} response to allow the stream through. Any non-zero code or 4xx/5xx causes SRS to reject the publisher.

post/stream/publish

Response

Successful Response

{"stackTrail":"paths:/stream/publish:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}