Load an OpenH264 2.7.x library so Rooms can negotiate H.264. Process-wide.
Call it before the first connect or createLocal*Track() call: the
media factory those create reads the library once, so a later call throws.
Once enabled, H.264 is offered after VP8, and preferredVideoCodecs may
name H264. It stays enabled for the life of the process. Calling it again
before the first connect or track loads the given library instead.
A frame larger than 1280x720 (3600 macroblocks) is scaled down to fit H.264
level 3.1, keeping its aspect ratio.
Every successful call writes a patent-licensing notice with console.warn.
Load an OpenH264 2.7.x library so Rooms can negotiate H.264. Process-wide.
Call it before the first connect or
createLocal*Track()call: the media factory those create reads the library once, so a later call throws. Once enabled, H.264 is offered after VP8, andpreferredVideoCodecsmay nameH264. It stays enabled for the life of the process. Calling it again before the first connect or track loads the given library instead.A frame larger than 1280x720 (3600 macroblocks) is scaled down to fit H.264 level 3.1, keeping its aspect ratio.
Every successful call writes a patent-licensing notice with
console.warn.