Commit Graph

30 Commits

Author SHA1 Message Date
prlanzarin
a1f0276b64 [html5/audio] Add hackViaWs to SIP.js and make it configurable in settings.yml, 1002 workaround
This adds the possibility to configure the SIP Via header to plain WS to allow reverse proxying from WSS to WS, internally, to work around a bug in freeswitch where the WSS stack would get deadlocked due to a still unidentified bug in there that has to do with SSL termination
2020-11-10 15:04:45 +00:00
Mario Jr
2d2a034729 Add sessionDescriptionHandlerModifiersPostICEGathering option to SIP.js INVITER
Current sessionDescriptionHandlerModifiers of SIP.js acts before ICE gathering is done. This means we are not able to modify/strip candidates in local SDP.
This modifier acts on local SDP, by allowing user to modify SDP before it is sent on INVITE message.
2020-09-25 20:26:28 -03:00
Mario Jr
619ffa0ec1 Port SIP.js to 0.17.1 release
This considerably changes the way we process audio signaling and start audio elements in user's browser.
We now avoid using AudioContext element for both microphone and listenonly calls, once it is unstable for some iOS devices (cracky audio, user stops hearing audio after a while).
Increased default value for listenOnlyCallTimeout: this avoids activating FreeSWITCH's fallback when ICE negotiation takes longer than 15sec (tested on DO).
Increased listenonly logs.
This fixes #8133 #10388
2020-09-25 20:26:22 -03:00
Anton Georgiev
00656ddf63 Removed unused bowser.js 2020-09-21 14:31:32 +00:00
Anton Georgiev
ead986e3e2
Merge pull request #9542 from prlanzarin/upstream-2.2-safari-ss
Screenshare: add support on Safari 13+ and make constraints configurable
2020-05-21 14:38:32 -04:00
prlanzarin
8eb6235b1e sip.js/kurento-utils: remove default 3rd party STUN servers
Removing 3rd party default STUN servers from those dependencies as to prevent unexpected behaviour
2020-05-21 04:31:40 +00:00
prlanzarin
fe8e719757 kurento-extension: add optional stream paremeter to avoid gUM/gDM if already done 2020-05-14 16:41:47 +00:00
prlanzarin
79c435f9f9 kurento-utils: add a fallback for getTracks
Add a fallback in case getTracks isnt available (ahem safari 12.1). Use addStream directly on the peer instead
2020-05-14 16:41:33 +00:00
prlanzarin
a2944955a9 Track listen only ICE connection state to trigger reconnection on failures 2020-03-04 20:39:58 +00:00
Chad Pilkey
ecfbe5e506 implmenent sip.js fallback for playing audio with web audio api 2020-02-29 00:38:30 +00:00
Chad Pilkey
f5cb7a64fb log the selected sip.js candidate 2019-12-18 16:11:24 -08:00
Chad Pilkey
50365aa4da extra log messages for sipjs candidates 2019-12-05 16:33:38 -08:00
prlanzarin
19bf430760 Add userId and userName to the SFU start calls where they were missing 2019-11-28 18:46:23 +00:00
Chad Pilkey
d114d381bd handle sip.js autoplay failure - temp UI 2019-11-22 21:38:52 +00:00
Chad Pilkey
927cbf35bb add option to reconnect audio with relay only 2019-10-26 02:57:49 +00:00
prlanzarin
7779a5e3a9 Display error toasts for screensharing, improve logs a bit more 2019-09-10 16:20:40 +00:00
prlanzarin
308c860c90 Revert "Further normalize kurento-extension script errors"
This reverts commit 5caac33e33.
2019-09-10 14:46:33 +00:00
prlanzarin
5caac33e33 Further normalize kurento-extension script errors 2019-09-06 20:56:20 +00:00
prlanzarin
397286b7c2 Add an ICE queue to kurento-extension to only process candidates after the remote answer is set
This fixes a webkit quirk and should get rid of some of the screensharing/listen only problems with Safari

Also improved the extraInfo error logging in the script to log only the name instead of the whole object on browser errors
2019-09-06 19:00:34 +00:00
prlanzarin
8d65ce565d Add UI prompts when autoplay is blocked for video/screenshare/listen only 2019-08-02 21:32:42 +00:00
prlanzarin
39cf33b194 Yet another workaround for autoplay issues 2019-07-25 17:36:19 +00:00
Anton Georgiev
bc2eddc779 Log if the content is provided (kurento-extension.js) 2019-07-23 17:46:15 +00:00
prlanzarin
d185762e97 Missing break 2019-07-16 20:10:37 +00:00
prlanzarin
08044feb0d Fixed SFU error response handling to actually display something useful 2019-07-16 20:08:43 +00:00
prlanzarin
a3a5d2f6a4 Refactor screenshare/listen only client-side logs 2019-07-15 20:59:00 +00:00
Anton Georgiev
02a09b9f1f
Avoid re-defining userAgent in kurento-utils.js
Addresses the error seen in
`"stackTrace":"TypeError: can't redefine non-configurable property \"userAgent\""`

Note, there are still definitions of `ua` in the code so ideally we need to extract this out.
2019-07-04 12:53:40 -04:00
Chad Pilkey
1e391695c1 strip mDNS candidates from sip.js SDPs 2019-06-03 18:54:30 +00:00
prlanzarin
9a563a006c Fixed typo in toPlanB conversion
Also tidy some stray lines
2019-05-21 17:38:22 +00:00
prlanzarin
ca9a0fad4a Added unified-plan/plan-b translation for Safari endpoints 2019-05-21 16:48:01 +00:00
Chad Pilkey
5173ab3b50 move plain js libs into the public dir 2019-04-24 15:13:50 -07:00