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
Name | Type | Description |
---|---|---|
roomId | String | Room identifier e.g name or token |
peerId | UInt64 | peer ID |
mediaStreamId | Int64 | media handle ID |
Returns
Type | Description |
---|---|
PlaybackComponent | PlaybackComponent or null |