Skip to content

gstwebrtc-api: use as non global instance

Yorick Smilda requested to merge (removed):453-use-as-non-global-instance into main

This merge request addresses the changes proposed in #453 (closed). It implements the GstWebRTCAPI as a class instead of a global instance. This allows for easier modification of the config during runtime by spawning a new instance instead of being limited to altering the configuration before DOMContentLoaded.

As this changes the way the API is interacted with the version number has been upped to 2.0.0 as to indicate that a breaking change has occured.

Closes #453 (closed)

Edited by Yorick Smilda

Merge request reports