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

MediaCollection

public class MediaCollection : IReadOnlyCollection<MediaStream>, IEnumerable<MediaStream>, IEnumerable, 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
System.Collections.IEnumerable.GetEnumerator