Class ContextRealtimeData
java.lang.Object
org.openqa.selenium.devtools.v119.webaudio.model.ContextRealtimeData
Fields in AudioContext that change in real-time.
-
Constructor Summary
ConstructorDescriptionContextRealtimeData
(Number currentTime, Number renderCapacity, Number callbackIntervalMean, Number callbackIntervalVariance) -
Method Summary
Modifier and TypeMethodDescriptionA running mean of callback interval.A running variance of callback interval.The current context time in second in BaseAudioContext.The time spent on rendering graph divided by render quantum duration, and multiplied by 100.
-
Constructor Details
-
ContextRealtimeData
-
-
Method Details
-
getCurrentTime
The current context time in second in BaseAudioContext. -
getRenderCapacity
The time spent on rendering graph divided by render quantum duration, and multiplied by 100. 100 means the audio renderer reached the full capacity and glitch may occur. -
getCallbackIntervalMean
A running mean of callback interval. -
getCallbackIntervalVariance
A running variance of callback interval.
-