Re: [webrtc-pc] CaptureStream adds mediaTracks with delay, we need a callback? (#923)

This is because you are capturing stream before video is played. So you need to capture stream after video has started playing to avoid delay in stream tracks.

**A better way instead of setInterval is to use:**
1- Use await on method and capture stream after that.
2- Use 'onplay' event of video element to capture stream when video is played.

GitHub Notification of comment by zaidiqbalsoftech
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Tuesday, 14 June 2022 11:31:45 UTC