Jump to content
  • 0

Android/IOS/Web sdk quality manage


yogesh jain
 Share

Question

6 answers to this question

Recommended Posts

  • 1

@yogesh jain
As I see, you mentioned it for all the SDKs (Android/IOS/JavaScript). Please ensure that your network connection is good for publishing a high-quality stream.

For example, on the AMS WebRTC sample page, you can publish a 480p stream by default, but you can try to increase the resolution from media constraints and max bit rate from the bitrate section to achieve 1080p if your connection and bandwidth are good.

Similarly, for the Android SDK, you can specify the maximum bit rate as follows:
this.getIntent().putExtra(EXTRA_VIDEO_BITRATE, 2000);

I hope it helps.

Link to comment
Share on other sites

  • 1

@yogesh jain
2000 kbps is good enough to publish the good quality stream but as I mentioned in my previous comments, it is the maximum bit rate. WebRTC handles the quality automatically as per the bandwidth.

You can try to play the stream on player.html sample page when you are publishing it from SDK. On that page you can see the stats of the published stream.

  • Like 1
Link to comment
Share on other sites

  • 0

@Yash can you please help me to set this variables for high quality published stream

this.intent.putExtra(CallActivity.EXTRA_CAPTURETOTEXTURE_ENABLED, true) 

this.intent.putExtra(CallActivity.EXTRA_VIDEO_FPS, 30)

this.intent.putExtra(CallActivity.EXTRA_VIDEO_BITRATE, 2000)

this.intent.putExtra(CallActivity.EXTRA_CAPTURETOTEXTURE_ENABLED, true)

this.intent.putExtra(CallActivity.EXTRA_DATA_CHANNEL_ENABLED, enableDataChannel)

 

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...