1
Fork 0
Commit Graph

988 Commits

Author SHA1 Message Date
Juliusz Chroboczek 40bf93cdd0 Consistently use SPS for detecting H.264 keyframes.
This was already the case for FU NALUs, but not for simple NALUs.
2022-05-04 18:26:22 +02:00
Juliusz Chroboczek 0d1b804ded Update srtp to 2.0.6.
This contains some important optimisations for CTR mode.
2022-05-01 21:35:08 +02:00
Juliusz Chroboczek 340c2900cc Move TURN server into structure. 2022-04-30 22:37:06 +02:00
Juliusz Chroboczek fd228b09c2 Fix checking for username when token is present. 2022-04-29 01:36:02 +02:00
Juliusz Chroboczek 0416976e20 Update CHANGES for 0.5.3. 2022-04-25 13:13:54 +02:00
Juliusz Chroboczek df675f532d Fix forgotten "replace" directive.
Thanks (and sorry) to Fabrice Rouillier.
2022-04-25 13:11:15 +02:00
Juliusz Chroboczek fc9f28fd68 Minor cleanups. 2022-04-23 18:43:01 +02:00
Juliusz Chroboczek 9ab84741d9 Update dependencies.
Pion/ice v2.2.6 (included by webrtc v.3.1.34) fixes an issue
that could break connections when the peer implements aggressive
nomination.
2022-04-22 22:01:43 +02:00
Juliusz Chroboczek 8180d9bf50 Document jitter concurrency guarantees. 2022-04-21 01:39:05 +02:00
Juliusz Chroboczek 461c78b0e3 Fix race condition in estimator. 2022-04-21 01:28:41 +02:00
Juliusz Chroboczek b5f8ea0e23 Fix rounding in estimator.
The test was buggy.
2022-04-20 21:15:01 +02:00
Juliusz Chroboczek 474c58cc7d Update CHANGES for 0.5.2. 2022-04-20 19:55:33 +02:00
Juliusz Chroboczek 547ff1e6c4 Revert "Don't break lines manually in chat messages."
This reverts commit 2eca0e44d5.
2022-04-20 17:38:55 +02:00
Juliusz Chroboczek dd4ab058ef Update dependencies. 2022-04-20 12:53:41 +02:00
Juliusz Chroboczek a95d77f53a Update dependencies. 2022-04-17 22:27:20 +02:00
Juliusz Chroboczek 694169a412 Update CHANGES. 2022-04-17 21:11:14 +02:00
Juliusz Chroboczek db21575df3 Implement audio-video sync in diskwriter.
We used to simply synchronise on the first keyframe.  This
could lead to important time offets, since every audio frame
is a keyframe, while we only request video keyframes every
four seconds.

Fix that by parsing the RTCP synchronisation data and adjusting
timestamp offsets accordingly.  If we have no RTCP sync, we simply
assume that the first frames received are synchronised.
2022-04-17 21:07:49 +02:00
Juliusz Chroboczek e3c8645897 Split reopen into close/open.
Only call close if there's already a writer, which avoids flushing
packets before the first call.
2022-04-17 18:24:08 +02:00
Juliusz Chroboczek 99055e5cae Make duration functions work with negative values. 2022-04-16 01:20:29 +02:00
Juliusz Chroboczek d36111d9f9 Set keyframe flag on audio samples. 2022-04-16 01:19:12 +02:00
Juliusz Chroboczek 6669a93ae3 Don't use high-quality audio for screenshare.
We used to set high-quality audio by default for screenshare,
but that makes the video blurry under bad network conditions.
Obey the hqaudio setting for all streams.
2022-04-15 00:36:47 +02:00
Juliusz Chroboczek af462329ab Set time offsets and cname as soon as possible. 2022-03-27 23:32:25 +02:00
ericgaspar e673cf1225 Rename lower hand to unraise. 2022-03-26 11:55:30 +01:00
Juliusz Chroboczek eb21c1ab20 Maintain stream information for oneself.
We used to maintain stream information for all users except oneself.
2022-03-25 18:21:03 +01:00
Juliusz Chroboczek e303992e45 Call onuser when deleting stream. 2022-03-25 17:04:31 +01:00
Juliusz Chroboczek 7527aeba3d Factorise out setUserStatus. 2022-03-25 16:49:09 +01:00
Juliusz Chroboczek d8db7567e4 Allow displaying chat messages when unconnected.
This makes commands such as /set work before you connect.
2022-03-25 16:30:31 +01:00
Juliusz Chroboczek 2eca0e44d5 Don't break lines manually in chat messages.
This is no longer necessary since we use "pre-wrap" in the CSS.
2022-03-25 16:23:51 +01:00
Juliusz Chroboczek a7ccfba407 Update CHANGES for 0.5.1. 2022-03-25 10:44:45 +01:00
Juliusz Chroboczek f66cabd6f4 Fix file transfer error handling. 2022-03-23 00:58:55 +01:00
Juliusz Chroboczek 8aaa6d1466 Obey forceRelay for file transfers. 2022-03-23 00:12:51 +01:00
Juliusz Chroboczek 55ae4a684b Remove parameter from the onpeerconnection callback.
The distinction is not likely to be useful, and it doesn't make
sense in all cases.
2022-03-23 00:11:12 +01:00
Juliusz Chroboczek 8d4bafe05c Tweak documentation of protocol.js. 2022-03-23 00:08:16 +01:00
Juliusz Chroboczek c0413a43ee Update CHANGES. 2022-03-22 18:49:52 +01:00
Juliusz Chroboczek 34b21a2598 Add preference forceRelay.
This may be useful to get around network blocks in some cases.
2022-03-22 18:23:16 +01:00
Juliusz Chroboczek 4053d9ca77 Display warning when joining a locked group. 2022-03-22 18:18:04 +01:00
Juliusz Chroboczek 5353d0a856 Update CHANGES. 2022-03-22 02:45:56 +01:00
Juliusz Chroboczek fd09564c05 Remove H.264 Baseline profile.
Some devices only support the Constrained Baseline profile.
2022-03-22 01:03:56 +01:00
Juliusz Chroboczek a183ac4bcd Increase the size of the diskwriter's reordering buffer.
This must be larger than the samplebuilder's MaxLate.
2022-03-21 23:38:09 +01:00
Juliusz Chroboczek a2ce703512 Reduce MaxLate values in diskwriter. 2022-03-21 21:40:33 +01:00
Juliusz Chroboczek de63449150 More paranoid match for Firefox bandwidth workaround. 2022-03-21 19:40:41 +01:00
Juliusz Chroboczek a698011aef Don't set rid when not simulcasting.
It turns out that the bandwidth limitation is not effective
in Firefox when the rid is set unless we're simulcasting.
2022-03-21 19:19:19 +01:00
Juliusz Chroboczek 70163094e9 Update dependencies. 2022-03-20 23:53:17 +01:00
Juliusz Chroboczek d798cfec75 Fix simulcast statistics display for Firefox.
Firefox doesn't include the rid in the statistics result.
Use the SSID instead.
2022-03-20 22:34:39 +01:00
Juliusz Chroboczek 148c49d253 Enable simulcast on Firefox.
Firefox uses a non-standard protocol for simulcast, which has been
supported by Pion for a while now.  Enable simulcast in Firefox.
2022-03-20 21:52:24 +01:00
Juliusz Chroboczek ba75bfeb3a Update CHANGES for 0.5. 2022-03-08 16:07:38 +01:00
Juliusz Chroboczek c69ccd098e Fix typo in documentation.
Thanks to Miroslav36.
2022-03-08 16:07:38 +01:00
Juliusz Chroboczek 1b492114ad Fix typo in permissionsChangedAction. 2022-03-04 22:23:25 +01:00
Juliusz Chroboczek 96588d0aa3 Remove galene-link.
Our tokens are not revocable, they should not be generated with
a large lifetime.  Don't encourage users to do that.
2022-03-04 22:19:06 +01:00
Juliusz Chroboczek e19716489c Update CHANGES. 2022-02-21 23:47:39 +01:00