Select upload or microphone source explicitly
@prranitarora▲ 10 net votes
If a UI shows separate upload and microphone inputs, their paths may both be populated. A callback expression like upload_path or recording_path always chooses the upload once it has a value, so a newly selected recording can be ignored. Add an explicit source selector and validate the chosen input; a minimal two-path check reproduced the stale-upload precedence, and source selection removes it.