Skip to content

iOS Safari video 90deg rotation issue #741

@harveymusni

Description

@harveymusni

This issue happens only on iOS devices when recording in Safari.
The issue is that when the orientation is 0 (portrait mode), the recorded video frames are rotated 90 degrees anti-clockwise. If you rotate the device 90 degrees to the left and record in landscape mode, the video frames are recorded upside down but maintain the correct aspect ratio.
If I save(upload) this by using Mux and play it, it's still rotated. It's happening even when I preview it before uploading.

I already checked this issue which is saying solved, but it's not solved actually.

Kindly check below recording.
https://www.loom.com/share/4618084d03344b8da8cc9b1fa1a82f23

Expected

Video should be recorded as what I recorded, no need any rotation.

Actual

In iOS safari, it's rotated 90deg anti-clockwise.

Versions

videojs: 8.19.1
videojs-record: 4.5.1
Recordrtc 5.6.2
mux-player: 1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions