true";
				controlButton.dataset.obsAction = "stopRecording";
				controlButton.innerText = "ðŸ“½ stop recording";
			} else {
				controlButton.dataset.obsAction = "startRecording";
				controlButton.innerText = "ðŸ“½ start recording";
			}

			if (control<5){
				controlButton.disabled = true;
				controlButton.style.cursor = "not-allowed";
				controlButton.title = "Source is lacking required permissions.";
			} else {
				controlButton.onclick = async function(){
					var msg = {