Developer Documentation

OdinHandler.GetMedia

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

public PlaybackStream GetMedia(string roomId, long mediaStreamId)

Get the PlaybackStream of a peer in the room

Parameters

NameTypeDescription
roomIdStringRoom identifier e.g name or token
mediaStreamIdInt64media handle ID

Returns

TypeDescription
PlaybackStreamPlaybackStream or null