I propose we introduce the odk-instance-load
event. I don't think there's much benefit to using xforms-ready
and there's something nice about having odk-instance-first-load
and odk-instance-load
. That would give us:
<odk:recordaudio event="odk-instance-load" ref="/data/my_recording" odk:quality="low"/>
(To be clear, I don't feel very strongly about this and would also be happy with re-introducing xforms-ready
and documenting that it's fired both on an empty form and when loading a draft record)
On the XLSForm side, I think it makes sense to have a type
for whole-form recording even if we do eventually introduce a start/stop syntax. Having to have start/stop directives that wrap the whole form definition seems really annoying.
type | name | parameters |
---|---|---|
background-audio | my_recording | quality=low |