Ant-Media-Server icon indicating copy to clipboard operation
Ant-Media-Server copied to clipboard

Android streaming in landscape mode

Open bikee1235 opened this issue 3 years ago • 1 comments

Short description

When we are rotating device from Portrait to Landscape it's not fitting properly

Device in Portrait

Screenshot 2022-09-20 at 2 31 51 PM

After device rotation Landscape

Screenshot 2022-09-20 at 2 32 06 PM

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

Screenshot 2022-09-20 at 2 50 45 PM

Actual behaviour

And Device is showing in player like this

Screenshot 2022-09-20 at 2 32 06 PM

@SelimEmre Can you please help us in resolving this issue

bikee1235 avatar Sep 20 '22 09:09 bikee1235

@SelimEmre if you'll instruct anything here so we can also try from our end meantime. If it will be fix well and good.

shibupanda avatar Sep 22 '22 07:09 shibupanda

@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 avatar Nov 23 '22 17:11 shibupanda

@shibupanda thanks for reporting, I will check it

mustafaboleken avatar Nov 23 '22 18:11 mustafaboleken