AgoraIO / API-Examples

Play with AgoraSDK and have fun! Everything you need to start learning Agora.
304 stars 218 forks source link

How to screenshare in full HD mode? #253

Closed sagar1garg closed 2 months ago

sagar1garg commented 2 years ago

@yoreland currently the screen share has no option to capture screen in HD mode. Further it doesn't make use of the mediaRecorder mode where in I can set CamcorderProfile cpHigh = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH);

How can this be achieved using the current lib:screensharing?

yoreland commented 2 years ago

the 3.6.2 android SDK will add a new API startScreenCapture, and lib:screensharing will be remove then. I will update it when the new sdk released.

sagar1garg commented 2 years ago

What's the timeline for v3.6.2? We use screenshare extensively in our app this is critical for us. @yoreland

yoreland commented 2 years ago

it will be in next week according to current plan. but if it is hard for you for upgrading, you might try to use this api setVideoEncoderConfigration

sagar1garg commented 2 years ago

Upgrading should be fine but I use it for game streaming. Hopefully it will also take away cases of overheating and screenshare service crashing and immediately restarting (in case of lib:screensharing) @yoreland

sagar1garg commented 2 years ago

Hi @yoreland is v3.6.2 released?

vishalkumarsinghvi commented 2 years ago

@yoreland Any update regarding screen sharing API?.