Skip to content

Conversation

@ofTheo
Copy link
Member

@ofTheo ofTheo commented Sep 5, 2023

add in auto muting for emscripten
switch in mp4 for opencvPeopleDetection example to make compatible with emscripten

with these changes we should be good to
close #7627 #7626

@Jonathhhan
Copy link
Contributor

Jonathhhan commented Sep 5, 2023

@ofTheo first I thought exactly that is the solution (for detecting audio), but then I saw it works for Safari only (deleted my comment because of that):
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/audioTracks

@ofTheo ofTheo merged commit 515bd04 into openframeworks:master Sep 5, 2023
@ofTheo
Copy link
Member Author

ofTheo commented Sep 5, 2023

ahh thanks @Jonathhhan - I can make it so it detects just for safari.

@Jonathhhan
Copy link
Contributor

Jonathhhan commented Sep 5, 2023

I have another Idea, to check it with the audio context. I will give it a try...

@ofTheo ofTheo mentioned this pull request Sep 5, 2023
54 tasks
@ofTheo
Copy link
Member Author

ofTheo commented Sep 5, 2023

awesome - thanks @Jonathhhan. feel free to do a PR for it if it works :)

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.

emscripten - regression from #7617 - video files are not found

2 participants