Our new developer documentation is now available. Please check it out!
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
Name | Type | Description |
---|---|---|
Item[Int64] | MediaStream | Try to get a media stream by ID |
Count | Int32 | Count of streams in the collection |
IsReadOnly | Boolean | Indicates whether elements can be added or removed from the collection |
Public Methods
Name | Description |
---|---|
Add | Add a stream to the collection |
Clear | Free and empty the collection |
Contains | Determines whether the stream by id is in the collection |
CopyTo | Copies stream of the collection to an array |
Equals | Determines whether the streams are equal |
GetEnumerator | Get enumerator for iteration |
GetHashCode | Default GetHashCode |
Remove | Remove a stream by handle id from the collection |
SetMute | Set IsMuted on each Media |