millicast / millicast-sdk

SDK for building a realtime broadcaster using the Millicast platform.
Other
37 stars 26 forks source link

Make metadata optional. Not enabled by default #368

Closed Santiago-Souto closed 3 weeks ago

Santiago-Souto commented 4 weeks ago

Metadata is now optional on both sides, viewer and publisher. If connect option metadata is set to true, then encodedInsertableStreams 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.

changeset-bot[bot] commented 4 weeks ago

⚠️ No Changeset found

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.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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