94 Commits

Author SHA1 Message Date
Chad Phillips
ecdae10548 FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function
The verto.clientReady event calls the onMessage callback function passed in
the Verto object. We should check for the existence of this callback function
before trying to call it.
2018-08-22 18:12:13 -04:00
Chad Phillips
954b2564b2 FS-11283: iOS doesn't support beforeunload, use recommended pagehide for that platform
$.verto.unloadJobs queue leverages the 'beforeunload' event to perform work
prior to browser page unload.

However, iOS does not support that event. Its equivalent event is 'pagehide'.

This patch uses the pagehide event on iOS, and beforeunload for all others.
2018-07-26 14:19:28 -05:00
Marcell Guilherme Costa da Silva
ee1418a5ca FS-11262 [verto_communicator] prevent vertojs from stop retrying socket connection by undefined socketfallbackurl 2018-07-19 15:26:45 -03:00
netoguimaraes
68e256597a FS-11211 - [verto_communicator]: Adding turnServer and socketFallbackUrl options. 2018-06-29 14:12:19 -03:00
StefanYohansson
90dad5af88 [verto_communicator] Fix to make video devices change without restart.
Fix menu background for lower resolutions.
2017-09-29 09:43:32 -03:00
Victor Torres
67dad06398
FS-10654: [verto] implementing replace prototype in verto dialog 2017-09-08 14:12:31 -03:00
Mike Jerris
9127c41316 Merge pull request #1031 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-9683-pass-call-recovery-status-to-verto to master
* commit '34e491ffa1dca32846d1e0fb97e71f5ac7c34d22':
  FS-9683: Pass call recovery status to Verto
2017-08-10 18:41:39 +00:00
Anthony Minessale
89e3a7bb4a FS-9979: [verto.js] When verto client rejects a call returns hangup cause NORMAL_CLEARING #comment passing neither cause or causeCode will result in normal clearing, passing either one of cause or causeCode will result in that value being passed and parsed on the server side, if the cause is valid it will be accepted otherwise it will try to validate causeCode instead, if neither are true it defaults to normal clearing #resolve 2017-07-13 12:52:04 -05:00
Chad Phillips
34e491ffa1 FS-9683: Pass call recovery status to Verto
Previously, users implementing a Verto workflow where both user login and
placing a new call are automated (eg., visiting a URL, and the videoconference
loads automatically) faced the challenge of not having a reliable way to know
that a page load will result in Verto's call recovery mechanism reconnecting
an existing detached call or not.

This adds a verto.clientReady JSON-RPC message, emitted after all calls are
re-attached, which contains a 'reattached_sessions' array, containing the
sess_id of any reattached session.

Client side, this can be caught in the onMessage handler, under the
$.verto.enum.message.clientReady key.
2017-07-06 13:54:08 -07:00
Anthony Minessale
b6a740a4cc FS-10360: [freeswitch-core,verto.js] FireFox Screen Sharing 2017-06-02 12:34:40 -05:00
Anthony Minessale
c07ad8c263 FS-10285: [verto.js] Device enumeration in Edge -- remove debug 2017-05-02 17:27:43 -05:00
Anthony Minessale
eafdc9d75b FS-10285: [verto.js] Device enumeration in Edge #resolve 2017-05-02 17:12:24 -05:00
Anthony Minessale
da6b9e001c FS-9742: [mod_conference,mod_cv] Refactor canvas zoom code #resolve 2017-03-09 11:54:13 -06:00
François
aada7a56a1 FS-9728 fix dynamic media tag on verto.newCall method 2016-11-11 14:05:53 +01:00
Chad Phillips
f566467cd0 FS-9640: Allow access to Verto stream object via callback
Exposes Verto MediaStream objects via the onGranted() callback
2016-10-13 10:11:57 -07:00
Waldyr de Souza
5941a60266 FS-9552 add to verto communicator toggle deaf status button 2016-09-29 12:06:21 -05:00
Waldyr de Souza
ecf5a0ce5c FS-8076 [verto_communicator] Ask before closing the page if a call is in progress. 2016-09-28 15:19:39 -03:00
Anthony Minessale
c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
davidlin
5a0e1af5d6 FS-9469
added onGrant/onDenied callbacks in onStream/onError of RTCCallbacks
so client code gets notified of webrtc permission change immediately

remove whitespace changes
2016-08-31 12:37:28 -07:00
Italo Rossi
040b83a7af FS-9157 [verto] Added possibility to use dedicated audio/video tags for each dialog 2016-05-12 18:34:23 -03:00
Anthony Minessale
4d180b1aa1 FS-7800 add canvas id arg to setVideoLayout 2016-03-18 18:30:49 -05:00
Anthony Minessale
f93668e3fd FS-7800 fix some stuff in multi-canvas 2016-03-18 18:21:25 -05:00
Anthony Minessale
3f7d1a5674 FS-8617 #resolve [Add gain and vol seperate to verto] 2015-12-04 13:55:43 -06:00
Anthony Minessale
833c193d04 FS-8264 #resolve [Add all the reservation IDs in the return of "list-videoLayouts" command] 2015-11-27 13:25:36 -06:00
Anthony Minessale
ae05a19edf FS-8401 refactor the sinkid function into verto lib 2015-11-18 14:43:29 -06:00
Anthony Minessale
8293dd03d0 FS-8546 #resolve [Make original video demo back-compat with livearray-json-status] 2015-11-16 17:02:07 -06:00
Anthony Minessale
67491b102c FS-8543 #resolve [Improve mute handling on conference and WebRTC] 2015-11-16 11:31:34 -06:00
Anthony Minessale
cc00d1d098 FS-8245 #resolve [Video Resolutions available in "Video Quality" drop down are not always correct] 2015-09-30 03:30:24 -05:00
Anthony Minessale
90124856d4 FS-8213 #resolve [Add support to skip permission checks on verto] 2015-09-25 20:00:03 -05:00
Stefan Yohansson
77fd36fa24 FS-8205 [verto_communicator] Add splash screen feature 2015-09-25 10:08:09 -05:00
Anthony Minessale
6a9f936f72 FS-8202 #resolve [Stop peer when ending screen share] 2015-09-22 11:21:32 -05:00
Anthony Minessale
9ab7a331f3 fix small typo in js and regen minified js 2015-09-18 20:54:24 -05:00
Anthony Minessale
052fed5fc3 FS-8181 #resolve [Verto check for camera perms fails init when no camera is present] 2015-09-17 15:09:19 -05:00
Anthony Minessale
4f4f01b36e FS-8180 #resolve [param to enable/disable video malfunction] 2015-09-17 11:12:44 -05:00
Anthony Minessale
692bd55f6b FS-8046 fix typo 2015-08-28 17:47:05 -05:00
Anthony Minessale
f21dc780cd FS-8046 change error back to log 2015-08-28 17:12:19 -05:00
Anthony Minessale
d36c9fdd56 FS-8087 #comment fix typo in callback name 2015-08-28 14:34:31 -05:00
Anthony Minessale
6831fa7015 FS-8087 #comment always make one basic call to getusermedia to ensure perms are ok 2015-08-28 11:41:02 -05:00
Anthony Minessale
0dd6b8403e FS-8087 #comment pass resCheck callback into deviceParams 2015-08-28 10:47:15 -05:00
Anthony Minessale
d025aaa3ad FS-8087 #comment add missing bit from last commit 2015-08-28 09:45:52 -05:00
Anthony Minessale
c1628690b6 FS-8087 #comment fix issue in camera selection on recovery, refactor to use localStorage, change res detection, reload on network change 2015-08-28 09:42:37 -05:00
Anthony Minessale
bfb59ae77c FS-8046 add deviceParams method 2015-08-27 16:14:52 -05:00
João Mesquita
ef679db337 FS-8059 [verto.js] Fix typo when transferring party from conference. 2015-08-26 22:10:36 -03:00
Anthony Minessale
2d32859dec FS-8046 #resolve [Verto lib not passing device prefs to dialogs properly] 2015-08-25 16:07:14 -05:00
Joao Mesquita
749313a2b2 FS-8036 [verto.js] #resolve Add chatCallback to $.verto.conf 2015-08-24 16:08:13 -03:00
Anthony Minessale
74945217b0 FS-7986 add $.verto.refreshDevices(runtime) 2015-08-20 17:14:10 -05:00
William Henry
dd498786eb FS-7932 - removed the param from the getMute funciton in verto class, not needed on underlying method 2015-08-19 16:42:51 -04:00
Jonatas Oliveira
d178092c2a Creating Verto Communicator.
Verto Communicator is a web interface built on top of Verto and AngularJS.

Brought to you by Evolux Sistemas and FreeSWITCH team. :)

FS-7795 - implements fullscreen menu and doubleclick function.
FS-7795 - added chat icon on fullscreen video
FS-7796 - fix missing tooltips in call icons
FS-7796 - fix tooltip position
FS-7798 - implements change login information in modal view
FS-7828 - fix esc key bug when leave fullscren mode. Using css instead of javascript in fullscreen for elements manipulation.
FS-7826 - fix chat sender id with name instead of extension
FS-7831 - remove demo from title
FS-7841 - fix compatibility verification
FS-7842 - 'settings' data persistent
FS-7859 - moved popup down
FS-7827 - added screen share functionality
FS-7857 - default name for source media
FS-7879 - prompt before logout [incall]
FS-7873 - querystring for autocall
FS-7875 - persist login and password password
FS-7877 - phone feature: hold, transfer, incoming, answer, decline, call direction in history
FS-7878 - small devices
FS-7881 - added modal dialog for contributors
2015-08-05 23:53:10 -05:00
Michael Jerris
12a6b8bc53 FS-7889: [mod_conference] move conference chat to use an event channel so messages only go to the right 'room' for the conference 2015-07-23 19:09:24 -05:00
Anthony Minessale
c702eda6b2 FS-7888 #resolve 2015-07-23 18:12:07 -05:00