Merge branch 'dev' into release/1.19.0

This commit is contained in:
ThomasSession 2024-07-22 14:28:48 +10:00
commit 66c78847d8

View File

@ -14,7 +14,7 @@ class RemoteRotationVideoProxySink: VideoSink {
val thisSink = targetSink ?: return
val thisFrame = frame ?: return
val modifiedRotation = thisFrame.rotation - rotation
val modifiedRotation = (thisFrame.rotation - rotation + 360) % 360
val newFrame = VideoFrame(thisFrame.buffer, modifiedRotation, thisFrame.timestampNs)
thisSink.onFrame(newFrame)