Skip to content

fix: unsupported "createObjectURL" function is replaced#201

Open
borabaloglu wants to merge 1 commit intoaemal:masterfrom
borabaloglu:master
Open

fix: unsupported "createObjectURL" function is replaced#201
borabaloglu wants to merge 1 commit intoaemal:masterfrom
borabaloglu:master

Conversation

@borabaloglu
Copy link
Copy Markdown

createObjectURL is an older method, and replaced with MediaStream directly. Here is a quote from mozilla docs (link)

Older versions of the Media Source specification required using createObjectURL() to create an object URL then setting src to that URL. Now you can just set srcObject to the MediaStream directly.

@josearmandojacq
Copy link
Copy Markdown
Collaborator

if it works go for it ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants