Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0025576RunnerHTML5Public2017-02-07 14:432017-12-06 09:24
Reporterzen 
Assigned ToMike Dailly 
PriorityMediumSeverityC - GeneralReproducibility100%
StatusAssignedResolutionOpen 
Platform OS OS Version
Summary0025576: HTML5: audio_get_recorder_count() always returns zero [and microphone recording does not work]
DescriptionUser is attempting to use a microphone with a HTML5 project as the docs says "Recording audio is currently only available currently for the Windows, Xbox One, PlayStation 4 and HTML5 target modules. " - http://docs.yoyogames.com/source/dadiospice/002_reference/game%20assets/sounds/audio_get_recorder_count.html [^]

User has tested on Chrome and Safari and has found that the function audio_get_recorder_count() always returns 0.
Steps To ReproduceCreate an object that prints the value of audio_get_recorder_count every step
Run with target Windows
Notice that the value changes to reflect the number of microphones that are plugged in.
Run with target HTML5
Notice that the value doesn't changed regardless of the number of microphones that are plugged in
Ensure that the browser allows the webpage to use the microphone without requesting permission
Additional InformationOriginal helpdesk ticket: http://help.yoyogames.com/tickets/119758 [^]
1.4 Version1.4.1763
2.x Runtime Version2.1.0.214
2.x Runtime Version Verified In
Attached Files

- Relationships
has duplicate 0028481ClosedDaniel Cleaton Runner HTML5: audio_start_recording and other audio functions will not work as intended 
related to 0027690AssignedMark Alexander Documentation Manual Content: audio_get_recorder_count documentation states that the function works on HTML5 

-  Notes
(0051530)
chmod777 (Reporter)
2017-02-09 15:55

Obfuscation might break this function.

navigator._zW=(navigator._zW||navigator._AW||navigator._BW||navigator._CW);function audio_get_recorder_count(){if(navigator._zW){return 1;}return 0;}
(0055671)
Peter Hall (Developer)
2017-09-25 12:05

(fwiw, we're attempting to use navigator.getUserMedia, has been deprecated in favour of navigator.mediaDevices.getUserMedia - https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia [^])
(0056902)
Daniel Cleaton (Administrator)
2017-12-06 09:24

0028481 has a sample for this.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker