Expand my Community achievements bar.

SOLVED

Few questions for ScreenSharing

Avatar

Level 2

Can we limit the List of options on the modal window?

Can we pre-define what window to share?

How do you measure "quality"?

What is the max fps?

Is there a difference in quality/bandwidth between a Free Dev Account and a Commercial Dev Account?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Hi There,

Can we limit the List of options on the modal window?

Nope, sorry

Can we pre-define what window to share?

See above =)

How do you measure "quality"?

From the docs :

  • Compression quality of the video. Defaults to 70 with 100 being the best.

What is the max fps?

From the docs :

  • The maximum rate for the camera to capture data in frames per second. The

maximum rate possible depends on the capabilities of the camera;

that is, if the camera doesn't support the value you set here, this frame

rate will not be achieved.

Is there a difference in quality/bandwidth between a Free Dev Account and a

Commercial Dev Account?

Nope.

hope that helps,

nigel

View solution in original post

8 Replies

Avatar

Correct answer by
Former Community Member

Hi There,

Can we limit the List of options on the modal window?

Nope, sorry

Can we pre-define what window to share?

See above =)

How do you measure "quality"?

From the docs :

  • Compression quality of the video. Defaults to 70 with 100 being the best.

What is the max fps?

From the docs :

  • The maximum rate for the camera to capture data in frames per second. The

maximum rate possible depends on the capabilities of the camera;

that is, if the camera doesn't support the value you set here, this frame

rate will not be achieved.

Is there a difference in quality/bandwidth between a Free Dev Account and a

Commercial Dev Account?

Nope.

hope that helps,

nigel

Avatar

Level 2

Hello I got a few more questions regarding screensharing.

1) Can we generate our own publisherID?

2) Can we send a request for ScreenSharing (ie: If I want a different computer to share it's screen can I send a request from mine) ?

3) Can we dynamically change the quality/fps while screen sharing?

4) Can we define the scale of the subscriber viewable area?

     a) Set it to be true size and only resize based on a toggle?

     b) Make the viewable area dynamically sizable?

Avatar

Employee

1) No (why would you want to do that ?)

2) You can setup your own "messaging" by subscribing/publishing on a "controlling" node. When one user wants to start another user screen share it will do a publishItem with a "share" command (or if share is all you can do any data will work) and the recipient will start screensharing when it receives the command. The user, though, will still be asked to select full screen or a specific application (or ignore the screensharing request)

3) Not sure of what's available for the screensharing codec. Need to look at the code (and our "screensharing" resident expert is away for a few days)

4) You control the "viewing area" of the subscriber. You can put the screenshare subscriber in a scrollable pane (with a virtual size bigger than your application size) and scroll around when needed or put it in a resizable pane and resize it accordingly.

Avatar

Level 2

Hi Raff,

To clarify Arotur's frist question. Essentially we are integrating this into an application that is meant to have only a 1 to 1 connection (for the moment). We have a master and Slave interface, the Master is always in control and can only screen share with one and one user only. We are trying to figure out a way to have multiple publishers within one room and know who are their respective partners to connect to.

We where considering getting the publisherID of every publisher to do this or maybe generate dynamically rooms with one master and one slave at a time.

Any thoughts?

+LA

Avatar

Former Community Member

Hi,

The publisherIDs are your userIDs of the person publishing. So, you can't do that in isolation.

There are APIs for changing quality/fps in ScreenSharePublisher. But either you do change it before publishing or you need to republish the stream with the new settings after you have changed it. There is an event called QUALITY_CHANGED or FPS_CHANGED fired when you change them.

The viewable area is your subscriber width/height. You can change it.

Hope this helps

Thanks

Hironmay Basu

Avatar

Employee

I would say go with multiple rooms. I don't see any advantage in trying to share a room if the participants are only allowed to interact two at a time. This would give you maximum security (create two authentication tokens for the participants in a particular room and they'll be the only two able to access the room).

If you still want to try to use one single room, you'll have to setup a system where you pass each participant its partner userID (and if you use external authentication you can specify what each user ID is, so you can pass it around)

Avatar

Level 2

Thank you guys,

I think we have what we need in terms of questions and answers now, all is left now is get to code.

Cheers.

+LA

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----