You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI guys i was wondering if there is a way to sense a n audio coming in the stream, i have audio enab;led and i get the audio streamed to me
im using the following code to get bit rate from the camera for motion,
const videoTrack = tracks?.find((track) => track.type === 'video');
if (videoTrack !== undefined) {
const quality = videoEl.getVideoPlaybackQuality();
const dropPercent =
(quality.droppedVideoFrames / quality.totalVideoFrames) * 100;
const { coding, profile, level } = videoTrack?.codec;
const framerate = Number(pipeline.framerate[videoTrack.index].toFixed(2));
const bitrate = Math.round(pipeline.bitrate[videoTrack.index] / 1000);```
i was wondering if there is a way to extract the audio and see if an audio is high or low based on bitrate...
The text was updated successfully, but these errors were encountered:
HI guys i was wondering if there is a way to sense a n audio coming in the stream, i have audio enab;led and i get the audio streamed to me
im using the following code to get bit rate from the camera for motion,
The text was updated successfully, but these errors were encountered: