1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-28 17:53:42 +02:00
Commit Graph

290 Commits

Author SHA1 Message Date
Daniel Berteaud
06f7ec3e1e Measure latency between peers and add feedback
Previews will be grey when latency is unknown (not measured yet), green when it's good (60ms or less), blue when medium (between 60 and 120), orange when it's becoming high (between 120 and 250) and red when latency is too high to have a good call (250ms or more)
To reduce confusion, slected preview will now have a reduced opacity instead of the red border
Fix #66
2014-06-10 23:02:10 +02:00
Daniel Berteaud
ec34e179d1 Reduce overlays icon size 2014-06-10 22:08:59 +02:00
Daniel Berteaud
11691f244f Add a few more reserved words 2014-06-09 12:59:10 +02:00
Daniel Berteaud
ac2bffca01 Reduce padding under the nav
SO we can use more space for the main video
2014-06-08 22:20:26 +02:00
Daniel Berteaud
5658c6db4e Update browser not supported dialog
Adapt links for android (point to Google Play)
Don't display browsers download link on iOS, as they will not work anyway
Fix #62
2014-06-08 15:38:11 +02:00
Daniel Berteaud
4280c46182 Remove useless CSS rules 2014-06-08 15:02:33 +02:00
Daniel Berteaud
061e7ba4d4 Remove some dead code 2014-06-06 22:44:56 +02:00
Daniel Berteaud
a02ac71159 Use warn class to notify that the room isn't persistent 2014-06-06 13:53:10 +02:00
Daniel Berteaud
1bc08f124a Only notify you are owner if it's the case
Check that we're really owner now before notifying
2014-06-06 09:29:01 +02:00
Daniel Berteaud
e7d4e34a49 Another typo which prevented group actions menu to be displayed
When another owner promote you
2014-06-06 09:26:28 +02:00
Daniel Berteaud
29cc7cddd1 Fix typo which made an undefined variable 2014-06-06 09:22:26 +02:00
Daniel Berteaud
1f2b112b3c Notify others if we don't have a webcam
In which case, add a grey glyphicon in the preview
Also disable suspend buttons
2014-06-06 09:16:32 +02:00
Daniel Berteaud
4c53aa5117 Fix chat buttons height on Firefox
Also adapt those buttons height to the size of the textarea
2014-06-05 22:42:53 +02:00
Daniel Berteaud
5185018da9 Expire invitations before checking if the token is valid 2014-06-05 18:57:07 +02:00
Daniel Berteaud
2fdda24bd3 Add feedback_thanks to the list of reserved names 2014-06-05 18:29:47 +02:00
Daniel Berteaud
5c7480a8f0 Align notif to bottom center for room creation error 2014-06-05 13:47:53 +02:00
Daniel Berteaud
e56dbad9e6 Add the error class only on the input zone
WHen you type an invalid room name
2014-06-05 13:46:02 +02:00
Daniel Berteaud
146b126bc7 Put time and name in bold in the chat
It's easier to distinguish the text like this
2014-06-05 10:03:42 +02:00
Daniel Berteaud
1fe47a461f Disable screen sharing buton on android
Fix #59
2014-06-04 22:37:09 +02:00
Daniel Berteaud
94e57a3bee Localize invalid room name error message 2014-06-04 16:33:53 +02:00
Daniel Berteaud
12b7f32e14 Add a "promote to owner" button
Fix #58
2014-06-04 16:00:29 +02:00
Daniel Berteaud
0686bed1e8 Do not try to submit if we already know the name is invalid 2014-06-03 22:34:23 +02:00
Daniel Berteaud
5f01424bb5 Update room creation
Uses JS now to submit so it can fail gracefuly on error, and warn if room already eists, instead of redirecting to the ugly error page
Fix #52
2014-06-03 22:30:19 +02:00
Daniel Berteaud
acf855cbfc Remove the active class on the help button
When the modal dialog is closed
2014-06-03 19:32:06 +02:00
Daniel Berteaud
2406cbeecd Hide threePeersEl when a peer leaves a room
If there's less than 3 peers
2014-06-03 12:07:19 +02:00
Daniel Berteaud
b228147906 Hide group actions until there's at least 2 other peers
They do not make sens when you're two or less in the room
2014-06-03 12:03:45 +02:00
Daniel Berteaud
767e59a9f3 Don't check if MoH is needed when the video being removed is our local screen 2014-06-03 11:18:47 +02:00
Daniel Berteaud
2a437cc4fd Various cleanups in invitations handling 2014-06-03 09:43:11 +02:00
Daniel Berteaud
50cab2837f Handle join auth through the invitation token 2014-06-03 09:09:52 +02:00
Daniel Berteaud
20d1bf695f Add grouped actions
To mute/unmute/suspend/resume everyone in one click
Fix #54
2014-06-02 22:15:50 +02:00
Daniel Berteaud
547d5365a1 Only enable sound detection if supported
Also use a lower threshold. -80 should be enough
And should Fix #55
2014-06-02 20:55:39 +02:00
Daniel Berteaud
d23e40e89d Don't add moh notif if it just resumed 2014-06-02 12:08:27 +02:00
Daniel Berteaud
eca15d3987 Add the name in join notifications subject
Fix #53
2014-06-02 12:03:32 +02:00
Daniel Berteaud
581889f559 Typo occured -> occurred 2014-06-02 10:40:51 +02:00
Daniel Berteaud
7c90b688f4 Default MoH to pause
Fix #51
2014-06-02 10:24:14 +02:00
Daniel Berteaud
4bcd816d77 Animation on dropdown menus
Fix #48
2014-05-31 14:34:31 +02:00
Daniel Berteaud
d780a63c41 Reduce volume of MoH
Fix #49
2014-05-31 14:27:01 +02:00
Daniel Berteaud
094bcbae2e Mute preview instead of pausing the video
FF doesn't support pausing one video with another connected to the same stream still playing
So, be consistent between FF and webkit, and just mute the preview
Also lower the volume of the previews (70%) and bump the one of the main video
Fix #47 and also fix #50
2014-05-31 14:20:27 +02:00
Daniel Berteaud
c840438feb Only play previews which are paused 2014-05-30 19:00:23 +02:00
Daniel Berteaud
f235f3a13c Add btn class to extension and audio only buttons
So they are more discoverable
2014-05-30 18:30:45 +02:00
Daniel Berteaud
5e664660dd Support audio only fallback
Fix #46
2014-05-30 18:01:44 +02:00
Daniel Berteaud
05c0851d31 Don't pause preview on small screens, as there's no main video div 2014-05-30 17:08:16 +02:00
Daniel Berteaud
bf6f1de4f3 Add a timer in the navbar 2014-05-30 16:41:23 +02:00
Daniel Berteaud
2d36ad921b Pause a preview when going on the main div
This reduce the CPU pressure, as only one stream needs to be decoded
Also prevent the main vid to double its audio level (which was not a bad thing, but was just beacause this same track was decoded and played twice, it'd be better to play with the volume of only one track)
Doesn't work well on FF for now (because FF doesn't like switching main div, it often do not resume the video, or after several seconds, will need to investigate)
2014-05-30 13:59:51 +02:00
Daniel Berteaud
5c5c17ebe2 Don't dup video el ID 2014-05-30 13:19:49 +02:00
Daniel Berteaud
20d3c40dd9 Allow the new screensharing on Chrome35/Linux
I see no crash or other problem
2014-05-30 13:10:33 +02:00
Daniel Berteaud
f7c22254b3 Use success class for askForName setting 2014-05-30 13:08:15 +02:00
Daniel Berteaud
37ef2240f9 Update msg when seting passwords (join or owner) 2014-05-30 13:07:12 +02:00
Daniel Berteaud
3c19a340a2 Don't display peer ID if the peer has no displayName 2014-05-30 12:36:38 +02:00
Daniel Berteaud
ccd1f68a87 Update to SimpleWebRTC 1.8.3 2014-05-30 12:31:35 +02:00
Daniel Berteaud
60f0cb53b9 Update fr and en locales 2014-05-29 23:30:42 +02:00
Daniel Berteaud
94f0be24f8 Adapt the client side JS to the new modal dialog for join password 2014-05-29 22:55:20 +02:00
Daniel Berteaud
4e5f6b7ffa Adapt JS part to the new modal dialog for persistent rooms 2014-05-29 12:36:11 +02:00
Daniel Berteaud
8876352913 Protect every table or field name in SQL queries 2014-05-28 15:40:14 +02:00
Daniel Berteaud
11a86f4fe2 Small cleanups in vroom.pl 2014-05-28 15:16:49 +02:00
Daniel Berteaud
2511d72663 Do not allow response if the invitation has already been processed 2014-05-28 14:55:50 +02:00
Daniel Berteaud
fbd3fa4830 Use a common class for public forms
And make them a bit larger
2014-05-28 14:53:45 +02:00
Daniel Berteaud
c133030704 Add a timestamp field to invitations
And purge those older than 2 hours
2014-05-28 14:35:25 +02:00
Daniel Berteaud
77f5239164 Enable UTF-8 on MySQL connection 2014-05-28 13:22:15 +02:00
Daniel Berteaud
f95e2730bd Change ping responce notif class to info
And disable autoHide
2014-05-28 12:42:06 +02:00
Daniel Berteaud
5a4affa600 Process invitations on ping
and send status to the inviter
Mark responses as processed once sent
2014-05-28 12:41:21 +02:00
Daniel Berteaud
67c7ac4438 Handle invitation responses
Not used yet, we also need to pass the response to the inviter
2014-05-28 09:39:38 +02:00
Daniel Berteaud
d597d4a790 Add notifications in the table before sending the email
And manage invitations cleanups when rooms expire
2014-05-27 19:09:30 +02:00
Daniel Berteaud
45a418b9c6 Fix resources path when not running on a dedicated vhost 2014-05-26 22:13:53 +02:00
Daniel Berteaud
806ec1d443 Use a much lower thrshold to detect no sound
the previous -40 triggered far too much false positives
2014-05-26 16:01:48 +02:00
Daniel Berteaud
513fd90d47 Don't display cryptic peer ID
When the participant hasn't set a display name
2014-05-25 15:49:07 +02:00
Daniel Berteaud
07276cbd86 Slightly delay MoH check
So it doesn't start/stop when you join a room with participants
2014-05-25 15:23:19 +02:00
Daniel Berteaud
d4dcea1b58 Shorter animations for main video transitions 2014-05-25 15:20:33 +02:00
Daniel Berteaud
149bcdde72 Fix a few untranslated message
also normalize localization in actions' handler
2014-05-25 01:21:14 +02:00
Daniel Berteaud
f53a16b86d Forbid setting an owner password for rooms which uses a common name
This list can be set in the config
2014-05-25 01:12:49 +02:00
Daniel Berteaud
6cfec8335b Only reduce font size on really small screens
And don't reduce that much
2014-05-25 00:27:40 +02:00
Daniel Berteaud
8f582b0e57 More comments + few cleanups 2014-05-25 00:14:10 +02:00
Daniel Berteaud
f44dac9b8e Remove context menu on the main video 2014-05-24 22:40:47 +02:00
Daniel Berteaud
34bdc2f27e Better main video sizing 2014-05-24 16:46:41 +02:00
Daniel Berteaud
7ca297267f Also correctly fade out the main video when we unshare our screen 2014-05-24 16:38:39 +02:00
Daniel Berteaud
811f61fab2 Fix main video removal when the peer share its screen 2014-05-24 16:33:59 +02:00
Daniel Berteaud
950a84fbbe Some code refactoring
Reduce duplicate code
Also add some more checks that event received from the signaling channel are sent by owners (ignore them if it's not the case)
2014-05-24 14:06:31 +02:00
Daniel Berteaud
36d202585c Don't loop to check if MoH is needed
Instead, start it once when you join the room, and check each time a peer leaves if it must be re-enabled
2014-05-24 13:28:07 +02:00
Daniel Berteaud
9766ea688a Do not autoplay moh if it was muted 2014-05-24 00:42:05 +02:00
Daniel Berteaud
32790721f4 Fix going fullScreen when double clicking the main video 2014-05-23 23:06:30 +02:00
Daniel Berteaud
2cf278e25b Fix handling our own screen preview 2014-05-23 22:55:42 +02:00
Daniel Berteaud
d6f70c8594 Small transitions for previews
Also fix main video removal if it's a peer's screen
2014-05-23 22:49:21 +02:00
Daniel Berteaud
1913a24a44 Fix video remove 2014-05-23 20:32:12 +02:00
Daniel Berteaud
7fd7d863ed Add transitions for the main video
And also remove some duplicated code
2014-05-23 20:23:37 +02:00
Daniel Berteaud
4ee0d76444 Add MoH when you are alone in the room
You can pause/resume music
Stops when someone joins, and resume when the last peer leaves
Also prints a message
Fix #42
2014-05-23 19:16:45 +02:00
Daniel Berteaud
f4ab4626e9 Hide the unread counter until needed 2014-05-23 14:01:05 +02:00
Daniel Berteaud
20d03ec012 Add a counter of unread message for the text chat 2014-05-23 13:46:16 +02:00
Daniel Berteaud
3a4c4680f8 Add link to the icon set 2014-05-23 13:20:04 +02:00
Daniel Berteaud
319dd9a03e Wait a bit before enabling owner's action button
As all the channels have to be ready first
2014-05-23 13:05:46 +02:00
Daniel Berteaud
0ac90f012c Warning if webcam access is refused
Fix #41
2014-05-23 12:48:45 +02:00
Daniel Berteaud
1d84ee7cc7 Update to SimpleWebRTC 1.8.2 2014-05-23 09:51:40 +02:00
Daniel Berteaud
a6566704ff Fix owner's action mess when a peer shares its screen 2014-05-22 18:28:14 +02:00
Daniel Berteaud
652682b00a Correctly escape chars in email addresses
Without this, some email address with strange chars were not removable
2014-05-22 16:07:00 +02:00
Daniel Berteaud
bd0535c940 Suspend button when used to prevent abuse and server overload 2014-05-22 14:18:52 +02:00
Daniel Berteaud
4f79e4b156 Make invite menu owner reserved
Simple participants should have access to this
2014-05-22 10:23:26 +02:00
Daniel Berteaud
8286e77155 Chage owner's action buttons depending on the actual status 2014-05-21 19:34:16 +02:00
Daniel Berteaud
4327f56a86 Add a grey box-shadow on unselected previews 2014-05-21 19:13:04 +02:00
Daniel Berteaud
4522add764 Only enable the add email button when input looks like an email address 2014-05-21 18:50:21 +02:00
Daniel Berteaud
dac515d5f7 Enable chat when the displayName is set before joining the room 2014-05-21 18:43:41 +02:00
Daniel Berteaud
dde00417ba Remove warning in vroom.js 2014-05-21 18:22:09 +02:00