Joachim Bauch
6ff9ee6b47
Fix moving between conference rooms.
9 years ago
Joachim Bauch
c8763deb58
Try to recover from (some) lost p2p connection state.
...
When the ICE connection state changes to "disconnected"/"failed",
these calls are marked and get re-called for conferences once the
connection is back and are allowed to send an "Offer" again.
This works in cases where the complete connectivity is lost for one
client while being in a conference once it comes back afterwards
for him.
Doesn't work reliably on Firefox as no "disconnected"/"failed" is
triggered there.
9 years ago
Joachim Bauch
d4f936d57b
Major refactoring of call / conference handling.
...
Removed difference between single peer-to-peer calls and conferences
with multiple peers. There is only a single code path now that creates
calls and stores them in a conference (which holds all active calls).
With this also fixed some timing issues that could cause conference
peers to not send or receive media streams.
Should help with some of the issues reported in #276 .
9 years ago
Joachim Bauch
4a4ba24b0c
Moved room type name to variable.
9 years ago
Joachim Bauch
77fe6fe508
Added comment to "peerIds".
9 years ago
Joachim Bauch
a1696e0cdf
Fixed broken hangup for regular conference calls.
9 years ago
Joachim Bauch
8fa2083c74
Always show own video when in conference room.
9 years ago
Joachim Bauch
1971c297fe
Updated evaluation of Conference messages to support serverside conferences.
9 years ago
Joachim Bauch
f0fbd7b1dc
Fixed wrong attribute name.
...
Also use cached variable instead of performing attribute lookup.
9 years ago
Joachim Bauch
eb85b22da8
Fixed inconsistent PeerConference creation.
...
There was a case where a three-party conference got downgraded to a p2p
session and then upgraded to a three-party conference again, that the
two remaining participants created their own PeerConference object resulting
in a "split-brain" conference.
9 years ago
Joachim Bauch
2e7b51a15a
Move stream id creation to PeerCall.
...
That way the streams can be registered internally and properly cleaned up on hangup.
9 years ago
Simon Eisenmann
bbd37a7454
Brought back mediaDevices wrapper for gUM for Firefox >= 38 fixing #263 and #264 .
10 years ago
Simon Eisenmann
687ec6df4d
Brought back mediaDevices wrapper for gUM for Firefox >= 38 fixing #263 and #264 .
10 years ago
Simon Eisenmann
814615ad35
Firefox 44 has fixed gUM permission indicator, so limiting workaround to 43 and lower.
10 years ago
Simon Eisenmann
e81527f857
Removed local getUserMedia conversion code and use the one provided by the adapter, fixing screen sharing for Chrome >= 49.
10 years ago
Simon Eisenmann
20b85f4bcf
Only stop user media automatically, when all tracks have ended.
10 years ago
Simon Eisenmann
2a8ec3f3be
Added compatibility fix for Chrome 38 which stopped working when called from Chrome 46+ (Munge remote offer UDP/TLS/RTP/SAVPF to RTP/SAVPF).
10 years ago
Simon Eisenmann
c77fa690bd
Improved codec check to include undefined.
10 years ago
Simon Eisenmann
ce9f8f9874
Moved from offerConstraints to offerOptions which follows latest spec. This fixes offer creation in Firefox >=43.
10 years ago
Simon Eisenmann
a6ded93b2f
Fixed jshint latedef and strict errors.
10 years ago
Simon Eisenmann
abebed3c4b
Avoid to scale up screen sharing while still keep mandatory constraints in Chrome.
10 years ago
Simon Eisenmann
35f4f41ea1
Make sure that the constraint adapter generates mandatory screen sharing constraints in for Chrome.
10 years ago
Simon Eisenmann
5e9200bc3c
Trigger signalingState changes.
10 years ago
Simon Eisenmann
78a8c34151
Use onended event handler on tracks instead.
10 years ago
Simon Eisenmann
b842bdf26b
Fixed a problem where streams could not be started when they are disabled when the call was started and the server has renegotiation disabled.
10 years ago
Simon Eisenmann
afedd478b4
Renegotiation needs to be triggered at least once even when there is no local stream.
10 years ago
Simon Eisenmann
c6d0139944
Fixed a problem where the Firefox permission indicator did not go away after gum has stopped.
10 years ago
Simon Eisenmann
cbdbeaebbc
Added reference to remember onnegotiationneeded in FF40.
10 years ago
Simon Eisenmann
af194a64b8
Remove deprecated MediaStream.stop api (see https://groups.google.com/a/chromium.org/forum/#\!msg/blink-dev/s0UsMk8i2YM/WpepA4w3mPEJ for details).
10 years ago
Simon Eisenmann
e207726148
Updated WebRTC adapter to latest version.
10 years ago
Simon Eisenmann
2a8fc4719b
Fixed problem where Chrome thought it already has an offer because the SDP is empty string instead of returning null for remoteOffer.
10 years ago
Simon Eisenmann
a577e73a32
Make sure to support renegotiation in conferences.
10 years ago
Simon Eisenmann
bcc3a86121
Return empty stream lists when there is no internal peer connection.
10 years ago
Simon Eisenmann
c49c15adf8
Hang up call, if a new offer is received and renegotiation is not enabled.
10 years ago
Simon Eisenmann
f9eccdc989
Use inner scope parameter properly.
10 years ago
Simon Eisenmann
ced1e76c34
Improved is DummyStream check.
10 years ago
Simon Eisenmann
ff433f12a4
Merged DummyStream implementations into one.
10 years ago
Simon Eisenmann
a157cea813
Added support for SDP workarounds which are required when renegotiation is on.
10 years ago
Simon Eisenmann
d53a6505c5
Added more references to tickets and problems with firefox.
10 years ago
Simon Eisenmann
647618fb74
Added comment to clarify why a null stream is injected.
10 years ago
Simon Eisenmann
a44cedc52d
Allow receiver to receive connections without a stream, by injecting a dummy stream.
10 years ago
Simon Eisenmann
9396548d9a
Make it possible to create peer connection in renegotiation mode without any stream.
10 years ago
Simon Eisenmann
eab339aed1
Implemented support to apply changed user media constraints on the fly in existing connections.
10 years ago
Simon Eisenmann
6c1e9791d5
Added renegotiation configuration to server.
10 years ago
Simon Eisenmann
fba521352a
Added client side configuration support for WebRTC renegotiation of user media streams.
10 years ago
Simon Eisenmann
84391f5a8f
Never try to add a stream without audiotrack to audio processor.
10 years ago
Simon Eisenmann
00348fa6fd
Added support to control Opus DTX.
10 years ago
Simon Eisenmann
beff7439b8
Bumped copyright to 2015.
10 years ago
Simon Eisenmann
9df314a37f
Use new Name field to send room name, rather than deprectated Id field.
10 years ago
Simon Eisenmann
ccdd51fd74
Worked to get screen sharing to FF.
...
Use new mediaDevices service.
Prepare to support video constraints in FF>=38.
Disable HD constraints for Firefox.
10 years ago