PennController for IBEX › Forums › Support › MediaRecorder – filenames using ID › Reply To: MediaRecorder – filenames using ID
June 8, 2022 at 12:02 pm
#8224
Jeremy
Keymaster
Hi Shamim,
This won’t be possible, because new*
PennController commands are executed immediately, that is, before participants can interact with the page. So it’s not possible to reference a value to be set later (the participant’s ID) in the arguments of newMediaRecorder
What you can do is generate and store a unique ID in a javascript variable and reference that variable in newMediaRecorder
and in log
, for example
Jeremy