How do the custom RVCamera video resolution ?

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
hyj_rv
Posts: 18
Joined: Mon Oct 20, 2014 10:41 am

How do the custom RVCamera video resolution ?

Post by hyj_rv » Mon Oct 27, 2014 1:57 am

1.How do the custom RVCamera video resolution(For example, 1920 * 1080
).

2.When the DeviceType = rvdtDesktop and DeskotpMode = rvdmRect,Set the rect is invalid,always full screen.

RVCamera1->DesktopRect.init(0,0,1024,768);
but,it always full screen.

Sergey Tkachenko
Site Admin
Posts: 14645
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Tue Oct 28, 2014 2:22 pm

1. Not supported for IP cameras, sorry.
For local cameras, you can change video mode, see Demos\Cameras\WebCamera, it allows to choose from a list of available modes (but not all of them may work)

2. We will check it, but try to assign a TRect to this property instead of calling Init

hyj_rv
Posts: 18
Joined: Mon Oct 20, 2014 10:41 am

Post by hyj_rv » Tue Oct 28, 2014 2:44 pm

Sergey Tkachenko wrote:1. no IP cameras, DeskotpMode how to support custom resolution , Maximum is 1024 * 768 now, but now most of the resolution of the computer is much bigger than this

Sergey Tkachenko
Site Admin
Posts: 14645
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Tue Oct 28, 2014 3:08 pm

1. When in Desktop mode, TRVCamera provides the screen videostrem in the current resolution. TRVCamera has functions to switch video resolution: http://www.trichview.com/help-media/trv ... eomode.htm
You can see how it works in the demo in Demos\SendAndReceive\RemoteDesktop\RemoteDesktop\ (the combobox in the top of the window)
TRVCamSender can send this videostream at the original size, or shrink to one of predefined resolutions.

2. In the current version, you need to assign DesktopRect before assigning DeviceType = rvdtDesktop. You can reassign DeviceType = rvdtDesktop after changing DesktopRect.

Post Reply