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

OdinPeer.addMedia

addMedia(media: OdinMedia): void

Adds a media to the list of active medias and starts decoding.

Parameters

NameTypeDescription
mediaOdinMediaThe media instance to add

Returns

TypeDescription
void