parsec-cloud / parsec-sdk

Low latency, peer-to-peer, interactive streaming.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple displays integration

rgonba opened this issue · comments

Hi,

I´m trying to use the SDK host example for a desktop application but I am having problems to connect to several monitors.

I have 3 monitors and when launching the host example, the "Add screens" option does not appear at official client side (I have a WARP account).

I can perfectly detect the 3 outputs by the method ParsecGetOutputs. I tried to set the outputs id to the host video config (both at ParsecHostStart and ParsecHostSetConfig), but it does not work. Besides, the number of streams is set to 2 at NUM_VSTREAMS constant and I have 3 monitors.

It seems the host does not provide information about the outputs to the client and thus it does not show the "Add screens" feature.

On the other hand, when I run the official host, the client shows correctly the option of adding additional screens. I would like to reproduce the same behavior in my custom host. Should I modify the NUM_VSTEAMS value to he number of monitors? How to configure all available outputs in order to be able to connect them from the client?

Thanks in advance,