92 Commits

Author SHA1 Message Date
Mike Jerris
ce2612fbd7 Merge pull request #1613 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11472-remove-android-framerate.min-overconstrainederror to master
* commit '850c0f411fa710aed286837f0eb666b1b6c5a8fb':
  FS-11472: Remove Android frameRate.min OverconstrainedError hack
2018-11-20 20:39:03 +00:00
Chad Phillips
850c0f411f FS-11472: Remove Android frameRate.min OverconstrainedError hack
https://freeswitch.org/jira/browse/FS-11285 put in a temporary hack to deal with
https://bugs.chromium.org/p/chromium/issues/detail?id=862325, which has now
been fixed as of Chrome 69 (70 is current stable).
2018-10-21 15:38:14 -07:00
Chad Phillips
90bc06e564 FS-11470: WebRTC Unified plan not properly supported
Chrome is beginning to default their SDP semantics to the WebRTC standard
'Unified Plan', and Verto does not currently construct its SDP according
to this standard. For now, force the browser to use 'Plan B' semantics.
2018-10-21 14:50:04 -07:00
Christopher Rienzo
1cf4981a82 Merge pull request #1553 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11287-provide-option-for-user-managed to master
* commit '96af587bf325ce35459cbd82e2e79bda0133a810':
  FS-11287: Provide option for user managed streams in Verto
2018-08-28 14:16:50 +00:00
Christopher Rienzo
928a605a8c Merge pull request #1548 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11284-fix-legacy-broken-video-constraints to master
* commit '31641749a737e71390016483a7e6bfbff9f77cea':
  FS-11284: Fix legacy/broken video constraints for specifying a video deviceId
2018-08-28 13:06:46 +00:00
Christopher Rienzo
2fd87793b9 Merge pull request #1552 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11286-add-onremotestream-callback-to-verto to master
* commit '61cdf6361739f0ecaef8d2766aa0bd5bb45ed731':
  FS-11286: Add onRemoteStream callback to Verto dialogs
2018-08-24 13:16:54 +00:00
Christopher Rienzo
bbca34c6b2 Merge pull request #1546 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11282-remove-ios-controls-hack-not-needed to master
* commit '5038ca7613e71d84a706a6a5d8c8359d272778e4':
  FS-11282: Remove iOS 'controls' hack, not needed
2018-08-24 13:00:27 +00:00
Chad Phillips
96af587bf3 FS-11287: Provide option for user managed streams in Verto
The Verto libs currently have total control over the streams associated with
placing any kind of call, handling both their creation and teardown
automatically.

This patch provides the option for a developer to instead pass pre-created
MediaStream objects when instantiating the Verto object, or when calling
Verto.newCall(), and the library will bypass the work of creating those
streams, and of destroying those streams when the call is torn down.

This is particularly useful if the application wants to manage its own streams,
such as re-using them in other non-Verto aspects of the application.

The patch also creates some internal convenience functions for managing the
video element related to a local video stream.
2018-07-26 17:03:24 -05:00
Chad Phillips
61cdf63617 FS-11286: Add onRemoteStream callback to Verto dialogs
This patch adds an onRemoteStream callback, which can be specified on the Verto
instance, or per dialog. The callback is fired when the remote stream from a
call is received, and receives two arguments, the first is the remote stream,
the second is the Verto dialog object.
2018-07-26 15:34:53 -05:00
Chad Phillips
ef647e3e3e FS-11285: OverconstrainedError on some Android front cameras when frameRate.min is specified
As described at https://bugs.chromium.org/p/chromium/issues/detail?id=862325,
some Android devices using Chrome fail a getUserMedia() request when
frameRate.min is specified.

This is due to a bug in both the device (reporting a 0 min frameRate), and
Chrome, which fails to catch this and set a reasonable fallback value.

While a fix has gone into Chrome, it might be awhile before this fix makes it
into their stable release, so filing this with my quick hack to prevent the
error on Android devices.

Note this fix could certainly be more robust (maybe detect Chrome version, or
some test to see if min frameRate from the device returns 0), and it gets the
job done as a start.
2018-07-26 15:02:29 -05:00
Chad Phillips
31641749a7 FS-11284: Fix legacy/broken video constraints for specifying a video deviceId
getMediaParams() was using a legacy version of the video constraint param to
specify a deviceId.

checkRes() was incorrectly setting video constraints such that it was not
properly testing specific video devices.
2018-07-26 14:36:02 -05:00
Chad Phillips
5038ca7613 FS-11282: Remove iOS 'controls' hack, not needed
iOS requires a 'playsinline' attribute to be added to video tags, however a
'controls' attribute was erroneously added, and is unneeded.

See https://github.com/webrtc/samples/issues/929#issuecomment-330816567 and
following comments for confirmation.

Removing this attribute reduces UI noise and 'click contention' on video
elements.
2018-07-26 14:06:30 -05:00
Anthony Minessale
1a2d406e86 FS-10862: [freeswitch-core] Updates on webrtc to keep up with browsers #resolve 2018-07-24 07:21:38 +00:00
Marcell Guilherme Costa da Silva
15227e01f2 FS-11236 [verto_communicator] call useCamera property on video constraints 2018-07-18 18:19:21 -03:00
netoguimaraes
fc6661ccb3 FS-11229 - [verto_communicator]: deprecating use of URL.createObjectURL 2018-07-13 15:03:47 -03:00
netoguimaraes
49b8cc3a3e FS-11227 - [verto_communicator]: stops localVideoStream tracks properly 2018-07-11 15:49:02 -03:00
netoguimaraes
68e256597a FS-11211 - [verto_communicator]: Adding turnServer and socketFallbackUrl options. 2018-06-29 14:12:19 -03:00
Italo Rossi
ba7b003bc2 FS-11044 - [verto_communicator] Fix error when muting/unmuting without cam and/or mic. 2018-04-21 18:11:12 -03:00
Anthony Minessale
dacca35a18 FS-10688: [verto.js] Add hack for IOS11 #resolve 2017-09-20 18:00:39 -05:00
Anthony Minessale
9e5b680084 FS-10688 2017-09-20 14:42:58 -05:00
Brian West
4772b73bcc revert 2017-09-20 14:37:48 -05:00
Brian West
fbd07d810d FS-10688 2017-09-20 09:29:17 -05:00
Anthony Minessale
0ef7be6327 FS-10688: [verto.js] Add hack for IOS11 #resolve 2017-09-20 09:15:56 -05:00
Anthony Minessale
cda7343841 FS-10420: [verto.js] Verto on Safari #resolve 2017-06-22 16:43:11 -05:00
Anthony Minessale
b6a740a4cc FS-10360: [freeswitch-core,verto.js] FireFox Screen Sharing 2017-06-02 12:34:40 -05:00
Anthony Minessale
c43fa95606 FS-10360: [freeswitch-core,verto.js] FireFox Screen Sharing -- remove strange chars 2017-06-01 18:40:02 -05:00
Anthony Minessale
58b163e08d FS-10360: [freeswitch-core,verto.js] FireFox Screen Sharing #resolve 2017-06-01 18:36:38 -05:00
Anthony Minessale
eafdc9d75b FS-10285: [verto.js] Device enumeration in Edge #resolve 2017-05-02 17:12:24 -05:00
Brian West
0021530faf FS-10139: [verto.js] $.FSRTC.bestResSupported() returns true for any res #resolve 2017-03-16 10:37:31 -05: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
Mike Jerris
e3d59e9eab Merge pull request #1002 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:hotfix/FS-9635-update-deprecated-stream.onended to master
* commit 'c17db3d3afc55c6f278bb13126ed2f5468b4026e':
  FS-9635: update deprecated stream.onended
2016-10-12 17:04:16 -05:00
Chad Phillips
e4e99654e5 FS-9395: downgrade some FSRTC console.error messages
Some of the console.error messages generated in FSRTC aren't really
error-worthy, downgrading appropriately.
2016-10-11 15:51:32 -07:00
Chad Phillips
c17db3d3af FS-9635: update deprecated stream.onended
stream.onended is being removed in Chrome 54, update to
stream.oninactive
2016-10-11 15:37:34 -07:00
Mike Jerris
5d6ab013d1 FS-9628: [verto] correct return value of $.FSRTC.bestResSupported to be the largest resolution 2016-10-10 15:02:40 -04:00
Italo Rossi
5957beafa2 FS-9608 [verto_communicator] [verto] Passing audio params directly to audio object and updating goog settings 2016-10-04 21:56:11 -03:00
Anthony Minessale
73e460e1f5 FS-9242 fix screen share for chrome to work in VC with additional camera 2016-09-27 16:26:50 -05:00
Anthony Minessale
6d6bd1efa5 FS-9242 convert to adapter.js 2016-09-27 16:07:00 -05:00
Chad Phillips
8269b8215b FS-9281: Add support for QQVGA resolution in Verto
QQVGA is a standard 160x120 resolution, useful for cases of very slow
upload bandwidth. Adds the resolution to the core FSRTC lib, and to
the Verto video demo and Verto Communicator
2016-08-15 10:37:18 -07:00
Anthony Minessale
f93668e3fd FS-7800 fix some stuff in multi-canvas 2016-03-18 18:21:25 -05:00
Anthony Minessale
9dede6a347 FS-8877 #resolve [Chrome Canary removed some audio mandatory constraints that break Verto] 2016-02-26 01:08:59 -06:00
Anthony Minessale
65f348ec95 FS-8798 #resolve [Typo in verto FSRTC lib] 2016-01-28 16:30:25 -06:00
Anthony Minessale
7733ff58d9 FS-8641 #resolve [Make frame rate configurable] 2015-12-15 16:16:51 -06:00
Anthony Minessale
2c7d53030c FS-8641 need to set min and max for less than 30 but if you set min and max to 30 and it doesn't support it it will fail, (maybe design these FPS params a little better webrtc politicians) 2015-12-09 18:38:25 -06:00
Anthony Minessale
51d402dfdd FS-8599 #resolve [Workaround for Mozilla is no longer needed for video size] 2015-12-02 10:23:25 -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
33ffdb34a8 FS-8219 missed a spot 2015-09-30 01:56:57 -05:00
Ken Rice
dab81d4c4c FS-8219 #resolve Correctly stop the tracks.
getusermedia.stop() has been deprecated. we now need to call stop on
each individual track.
2015-09-29 11:46:15 -05:00
Anthony Minessale
90124856d4 FS-8213 #resolve [Add support to skip permission checks on verto] 2015-09-25 20:00:03 -05:00
Italo Rossi
5d2ef7dac4 FSRTC - calling localStream.stop when it's available or localStream.active = false to make it work on newer chrome canary 2015-09-25 09:05:08 -05:00
Anthony Minessale
7ea9b684a7 FS-8204 add sprop-stereo also 2015-09-22 15:31:20 -05:00