Open liulin1990 opened 11 months ago
Later, further testing revealed that when sharing the desktop through getDisplayMedia and recording video with SRS, if the screen image is static, the recording is skipped. If the screen image is constantly moving (such as playing a video), when playing back the recording, it appears to be playing at double speed. I'm not sure why.
TRANS_BY_GPT4
Akin to the issues of playing WebRTC in different Android browsers, the DVR also has some special problems, because DVR depends on converting WebRTC to RTMP.
Description
Please description your issue here The SRS is configured to record a video every 30 seconds. After modifying line 75 of srs.sdk.js in the SRS built-in example demos from getUserMedia to getDisplayMedia, and starting the application to share the desktop, it was observed that the video was not recorded every 30 seconds. Moreover, a video was only recorded after ending the desktop sharing, and the video duration was much shorter than the desktop sharing time.
SRS Version: 6.0.36(Bee), Windows version
SRS Log:
Replay
Please describe how to replay the bug?
Step 1: Run SRS
Step 2: Enable the application, share desktop stream
Step 3: Another user pulls the desktop stream
Step 4: View the recorded video
Expect
Please describe your expectation. Record a video every 30 seconds.
TRANS_BY_GPT4