View Issue Details

IDProjectCategoryView StatusLast Update
0025576RunnerHTML5Public2017-12-06 09:24
ReporterzenAssigned ToMike Dailly 
PriorityMediumSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
Platform OS OS Version
Product Version 
Target VersionFixed in 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 Found In1.4.1763
2.x Runtime Found In2.1.0.214
2.x Runtime Verified In

Relationships

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

Activities

chmod777

2017-02-09 15:55

Reporter   ~0051530

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;}

Peter Hall

2017-09-25 12:05

Developer   ~0055671

(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)

Daniel Cleaton

2017-12-06 09:24

Adminstrator   ~0056902

0028481 has a sample for this.