Failed to convert value to MediaStream

I am trying to implement Screen Capture API https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Using_Screen_Capture#capturing_screen_contents I am building the same code in React JS, when I place the following code I am getting an error "Failed to set the ‘srcObject’ property on ‘HTMLMediaElement’: Failed to convert value to ‘MediaStream’." <video id="video"></video> video = document.getElementById("video"); video.srcObject = navigator.mediaDevices.getDisplayMedia(displayMediaOptions);“` Please someone help in… Read More Failed to convert value to MediaStream

Subset cases in which there were more than 3 observations in longitudinal data?

Have a set of longitudinal data in which measures were repeatedly collected at various waves (see example of set up below. As this sort of data goes however, there was attrition, with some waves stopping before the study ended. However, my analysis has the assumption that each participant have at least 3 observations ID Wave… Read More Subset cases in which there were more than 3 observations in longitudinal data?