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

MediaCollection.Remove

public bool Remove(long id)
public bool Remove(MediaStream item)

Remove a stream by handle id from the collection

Info

Always false if the collection IsReadOnly

Parameters

NameTypeDescription
idInt64handle id of the stream to remove
itemMediaStreamstream to remove

Returns

TypeDescription
Booleantrue on success or false

Variants

Remove(id)

public bool Remove(long id)

Remove a stream by handle id from the collection

Warning

Always false if the collection IsReadOnly

Parameters

NameTypeDescription
idInt64handle id of the stream to remove

Returns

TypeDescription
Booleantrue on success or false

Remove(item)

public bool Remove(MediaStream item)

Remove a stream from the collection

Warning

Always false if the collection IsReadOnly

Parameters

NameTypeDescription
itemMediaStreamstream to remove

Returns

TypeDescription
Booleantrue on success or false