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

Constructors

NameDescription
MediaCollection()Internal collection of available media streams

Properties

NameDescription
Item[Int64]Try to get a media stream by ID
CountCount of streams in the collection
IsReadOnlyIndicates 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