Skip to main content

odin_media_stream_type

Retrieves the type of the specified media stream.

info

Note: This function will always return OdinMediaStreamType_Audio at the moment (until video support is fully implemented).

Declaration
enum OdinMediaStreamType odin_media_stream_type(OdinMediaStreamHandle stream);

Parameters

stream

Handle of the media stream whose type is to be retrieved. See

OdinMediaStreamHandle

for more information.

Declaration
OdinMediaStreamHandle stream;

Returns

The type of the media stream. See

OdinMediaStreamType

for more information.

Return Type
OdinMediaStreamType