Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add desktop sharing #438

Merged
merged 20 commits into from
Jan 19, 2017
Merged

[WIP] Add desktop sharing #438

merged 20 commits into from
Jan 19, 2017

Conversation

sualko
Copy link
Member

@sualko sualko commented Jan 12, 2017

fix #8

There are some browser limitations for desktop sharing:

  • support only in chrome and firefox with custom extension
  • requires https

TODO

  • remove all todos in jsxc.lib.webrtc.js
  • modify ui on sender side
  • test ff
  • create wiki page
  • add option for link to extension download

screenshot from 2017-01-12 16-45-06
screenshot from 2017-01-12 16-45-27

font-style: italic;

.jsxc_emoticon {
width: 1.2em;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered height, vertical-align, width

font-size: 0.8em;
font-style: italic;

.jsxc_emoticon {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces
Selector jsxc_emoticon should be written in lowercase with hyphens

@@ -618,6 +618,15 @@
box-sizing: border-box;
margin-right: 3px;
border-radius: 3px;
background-color: transparent;
font-size: 0.8em;
font-style: italic;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

@@ -618,6 +618,15 @@
box-sizing: border-box;
margin-right: 3px;
border-radius: 3px;
background-color: transparent;
font-size: 0.8em;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

@@ -618,6 +618,15 @@
box-sizing: border-box;
margin-right: 3px;
border-radius: 3px;
background-color: transparent;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

@@ -136,7 +274,7 @@
bottom: 10px;
z-index: 9990;
background-color: $black;
cursor: pointer;
cursor: move;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

box-shadow: 0 0 10px #a1a1a1;

.jsxc_localvideo {
position: static;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered display, position

background-color: transparent;
box-shadow: 0 0 10px #a1a1a1;

.jsxc_localvideo {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selector jsxc_localvideo should be written in lowercase with hyphens

bottom: auto;
z-index: 99;
background-color: transparent;
box-shadow: 0 0 10px #a1a1a1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color literals like #a1a1a1 should only be used in variable declarations; they should be referred to via variable everywhere else.

@@ -54,6 +176,22 @@
bottom: 0px;
background-color: $video_bg;

&.jsxc_minimized {
position: fixed;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered background-color, bottom, box-shadow, left, position, right, top, z-index

@@ -54,6 +176,22 @@
bottom: 0px;
background-color: $video_bg;

&.jsxc_minimized {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces
Selector jsxc_minimized should be written in lowercase with hyphens

margin-left: -50px;
}

35% {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

margin-left: -30px;
}

30% {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

margin-left: -50px;
}

25% {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

margin-left: -30px;
}

20% {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

margin-left: -50px;
}

15% {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 2 spaces, but was indented 4 spaces

@sualko
Copy link
Member Author

sualko commented Jan 17, 2017

This pr will not only add screen sharing to jsxc, but also change/update minor parts of the ui. Specially system messages are more reserved now and I added icons to distinct between calls and screen sharing. Also the number of system messages is reduced during a call.

screenshot from 2017-01-17 14-52-18
screenshot from 2017-01-17 14-59-06
screenshot from 2017-01-17 14-54-45

}
}

.jsxc_bell:before {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rule set contains (18/10) properties

$ringingColor1: #98d48f;
$ringingColor2: #76ba6c;

.jsxc_ringing:before {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rule set contains (16/10) properties

$establishingColor1: #a1a1a1;
$establishingColor2: #f1f1f1;

.jsxc_establishing:before {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rule set contains (15/10) properties

@sualko sualko merged commit 41ad5e5 into master Jan 19, 2017
@sualko sualko deleted the add-desktop-sharing branch January 19, 2017 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Desktop sharing
2 participants