Author Message
DivyamKhandelwal
Joined: Feb 22, 2017
Messages: 2
Offline
How can i modify the screen size in Avaya client sdk 3.0.0.1? I have to increase the size of display video during video calling.
I have tried modifying the code in video_frame_layout.xml and used onSurfaceChanged() function of Class VideoPlaneRemote
and Class VideoPlaneLocal of package com.avaya.clientservices.media.gui but I am not getting desired results.
  • [Thumb - div1.png]

Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
You can increase video frame by modifying "layout_width" and "layout_height" in video_frame_layout.xml.
You can also change video size using videoPlaneRemote.setRemoteVideoSize and videoPlaneLocal.setLocalVideoSize
DivyamKhandelwal
Joined: Feb 22, 2017
Messages: 2
Offline
Please find the videoframefragment.java file and xml updated file, the size of frame is increased but video size is still same.I have attached a image of updated video calling screen.Still,I am not getting my desired result
Filename video_frame_layout.xml [Disk] Download
Description This is my video frame layout xml updated with height and width
Filesize 294 bytes
Downloaded: 232 time(s)

Filename VideoFrameFragment.java [Disk] Download
Description I had use function videoPlaneLocal.setLocalVideoSize(400,800); but not getting desired results
Filesize 9 Kbytes
Downloaded: 284 time(s)

  • [Thumb - updated.jpeg]

Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
You have set LocalVideoSize(400,800), so the height of your local video will be less than width by 2 (800/400), as you can see in the screen shot.
Go to:   
Mobile view