Skip to main content

Disconnect the external publisher holding a slot

POST 

/api/mediasrc/takeover

Kicks the non-Insight publisher currently holding one source slot through the mediamtx control API. Readers of that stream are disconnected too. Afterwards the slot reports its persisted state again and can be assigned and started. Idempotent when the publisher already left. Returns 409 while Insight pulls a network stream into the slot; use /api/mediasrc/stop first.

Request​

Responses​

Publisher disconnected.