Developer Documentation

OdinHandler.GetMedia

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