Developer Documentation

MediaCollection

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 class MediaCollection : IReadOnlyCollection<MediaStream>, IEqualityComparer<MediaStream>

Internal collection of available media streams

Properties

NameTypeDescription
Item[Int64]MediaStreamTry to get a media stream by ID
CountInt32Count of streams in the collection
IsReadOnlyBooleanIndicates whether elements can be added or removed from the collection

Public Methods

NameDescription
AddAdd a stream to the collection
ClearFree and empty the collection
ContainsDetermines whether the stream by id is in the collection
CopyToCopies stream of the collection to an array
EqualsDetermines whether the streams are equal
GetEnumeratorGet enumerator for iteration
GetHashCodeDefault GetHashCode
RemoveRemove a stream by handle id from the collection
SetMuteSet IsMuted on each Media