OdinMedia
Class to handle ODIN media.
A media represents an audio stream that was added to an ODIN room by a peer.
Properties
streamHandle
The underlying media stream handle to interact with.
audioNode
The underlying object that supplies/receives audio data on the media stream.
activityStatus
Indicates for whether or not the media stream is sending/receiving data.
id
The ID of the media stream.
peerId
The ID of the peer that owns the media stream.
Note: This will always be 0
if the media is owned by your own peer.
remote
Indicates whether or not this media is owned by a remote peer.
type
The type of the specified media stream.
Methods
deinit
Destroys the media stream if necessary.
hash(into:)
Hashes the essential components of the media by feeding them into the given hasher.
==(_:_:)
Returns a value indicating whether two type-erased hashable instances wrap the same media.