You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
Since this needs to be called outside the functional component, and it requires a MediaStreamTrack to already be in place, it does not seem to offer any functionality outside of a hard-coded track.
Perhaps I am missing something, but there seems no way to pass it any sort of dynamically-created track.
Is there a way?
The text was updated successfully, but these errors were encountered:
Hi - yes, for sure.
Also, since this needs to be called outside the functional component, allow calling it without any mediaTrack (an empty config).
The use case is for a user to select a video file and then stream it - so it needs to be adjustable from within a functional component to be useful.
That makes sense, let me put in some thought into the user-facing API and work on this in the next update. Might be some time as I'm working on a different project at the moment.
Since this needs to be called outside the functional component, and it requires a MediaStreamTrack to already be in place, it does not seem to offer any functionality outside of a hard-coded track.
Perhaps I am missing something, but there seems no way to pass it any sort of dynamically-created track.
Is there a way?
The text was updated successfully, but these errors were encountered: