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

OdinPeer.removeMedia

removeMedia(media: OdinMedia): void

Removes a media from the list of active medias and stops decoding.

Parameters

NameTypeDescription
mediaOdinMediaThe media instance to remove

Returns

TypeDescription
void