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
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 |