Janus: "Absolute Capture Time" RTP extension added (#320)

for video.
This commit is contained in:
Sergey Radionov
2026-01-28 14:59:01 +07:00
committed by GitHub
parent 8adca998e9
commit 3b7592bb31
4 changed files with 14 additions and 0 deletions

View File

@@ -205,6 +205,8 @@ static void *_video_or_acap_thread(void *v_client, bool video) {
}
if (rtp.video) {
packet.extensions.abs_capture_ts = rtp.grab_ntp_ts;
uint video_orient = atomic_load(&client->video_orient);
if (video_orient != 0) {
// The extension rotates the video clockwise, but want it counterclockwise.