Developer Documentation

OdinPeer.removeMediaById

removeMediaById(id: number): void

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

Parameters

NameTypeDescription
idnumberThe media ID to remove

Returns

TypeDescription
void