Ant-Media-Server
Ant-Media-Server copied to clipboard
Android streaming in landscape mode
Short description
When we are rotating device from Portrait to Landscape it's not fitting properly
Device in Portrait
After device rotation Landscape
Similar type of issue we found in iOS too for that we have fixed using making rotation constant using
var rotation = RTCVideoRotation._0 in RTCCustomFrameCapturer.swift file in framework
Steps to reproduce
1.Strat Android device streaming 2.Play using URL 3.Try to Rotate the device in Landscape mode
Expected behaviour
Device should show some thing like this when we rotate device from portrait to landscape
Actual behaviour
And Device is showing in player like this
@SelimEmre Can you please help us in resolving this issue
@SelimEmre if you'll instruct anything here so we can also try from our end meantime. If it will be fix well and good.
@mustafaboleken now one more issue came. Device: Google Pixel 4XL, 4 STR: Try to rotate 4-5 times then sometimes getting black and sometimes it's stuck Error in logcat: Dequeueing buffer for display failed attaching log--Pixel4_2022_November_23_4_30_pm__140_a35ef-7160.log please check.
@shibupanda thanks for reporting, I will check it