/** * registerPlayer() — Simplified API for registering custom protocol players. * * Bridges a simple definition object to the full IPlayer interface and registers * it with the global player manager. * * @example * ```ts * import { registerPlayer } from '@livepeer-frameworks/player-core'; * * registerPlayer('myproto', { * name: 'My Protocol Player', * priority: 5, * mimeTypes: ['application/x-myproto'], * isBrowserSupported: () => typeof RTCPeerConnection !== 'undefined', * async build(source, video, container) { * // Set up playback on the