Closed Santiago-Souto closed 3 weeks ago
Latest commit: e09dee689e3ecb286a1f5213b2b6bff647c01b89
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Metadata is now optional on both sides, viewer and publisher. If connect option
metadata
is set to true, thenencodedInsertableStreams
peer config will be set and a Web Worker will be created only once.For Safari users, metadata extraction will be based only on this option, so if the stream published does not have H264 codec, but the viewer set metadata to true, it will try to extract. This replaces the
options.codec = 'h264'
needed previously, to avoid setting to options instead of only metadata one. We assume that if the user sets metadata extraction, is the same as setting the view codec to h264.