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

OdinHandler.GetPlaybackComponent

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