Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinHandler.GetPlaybackComponent

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 PlaybackComponent GetPlaybackComponent(string roomId, ulong peerId, long mediaStreamId)

Gets a Audio

Info

A PlaybackComponent always have RoomName, PeerId and MediaId properties.

Parameters

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

Returns

TypeDescription
PlaybackComponentPlaybackComponent or null