Skip to main content

odin_media_stream_destroy

Destroys the specified OdinMediaStreamHandle, after which you will no longer be able to receive or send any data over it. If the media is currently 'attached' to a room it will be removed.

Declaration
OdinReturnCode odin_media_stream_destroy(OdinMediaStreamHandle stream);

Parameters

stream

Handle of the media stream (

OdinMediaStreamHandle

) to be destroyed.

Declaration
OdinMediaStreamHandle stream;

Returns

A return code indicating success or failure.

Return Type
OdinReturnCode