fix(audio_fingerprinting): trigger audio fingerprint with click#1025
fix(audio_fingerprinting): trigger audio fingerprint with click#1025
Conversation
…ction This is required as AudioContext doesn't work without user interaction
Codecov ReportBase: 52.56% // Head: 51.14% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1025 +/- ##
==========================================
- Coverage 52.56% 51.14% -1.42%
==========================================
Files 34 34
Lines 3394 3394
==========================================
- Hits 1784 1736 -48
- Misses 1610 1658 +48
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
Non-blocking: do you know if this is an AudioContext spec change where the API actually is gated behind user interaction, or whether there is simply a race condition here? |
|
There was an error message in the console saying smt like Audio context is unavailable without user interaction. And with some googling I found people also reported the same for Chrome. So maybe audio fingerprinting is just dead now? However even with the click it was slightly racy, that's why I put the sleep 5 after the click |
This is required as AudioContext doesn't work without user interaction