Juliusz Chroboczek
dcde4562f5
Avoid code duplication in openDescriptionFile.
2023-12-09 16:17:48 +01:00
Juliusz Chroboczek
1f3b349ea2
Use MaxBytesReader in whip.
2023-12-09 16:17:48 +01:00
Juliusz Chroboczek
a283692584
Require Go 1.19.
2023-12-09 16:17:48 +01:00
Juliusz Chroboczek
0fc9136774
Allow HTML elements in addToChatbox.
2023-12-08 23:41:51 +01:00
Juliusz Chroboczek
96e2db0347
Protect against undefined navigator.mediaDevices.
...
This may happen if we're running over plain HTTP.
Thanks to kovmir.
2023-12-08 18:52:06 +01:00
Juliusz Chroboczek
c0214c3350
Fix typo in comment.
2023-12-08 18:39:08 +01:00
Juliusz Chroboczek
d16c680f99
Update CHANGES for 0.8.
2023-11-25 23:12:38 +01:00
Juliusz Chroboczek
36217b1093
Update dependencies.
...
gorilla/websocket is not updated, since 1.5.1 doesn't look good
to me.
2023-11-23 19:59:45 +01:00
Juliusz Chroboczek
bb0a949593
Update CHANGES.
2023-11-23 18:40:42 +01:00
Juliusz Chroboczek
8628344a6d
Add support for hashing password with BCrypt.
2023-11-23 14:04:43 +01:00
Juliusz Chroboczek
2a32ac8f40
Update golang.org/x.
2023-11-05 00:06:38 +01:00
Juliusz Chroboczek
2ad6fc5b6e
Constrain video aspect ratio rather than resolution.
2023-11-04 23:56:47 +01:00
Juliusz Chroboczek
ff28e33d74
Set default resolution to 640x400.
...
We used to accept the browser's default, which varied widely
between devices.
2023-11-04 22:58:15 +01:00
Juliusz Chroboczek
e4682ff283
Revert "Change default video codec to VP9."
...
This reverts commit 69445d67f5
.
2023-09-01 16:00:09 +02:00
Juliusz Chroboczek
cc2ed14484
Reset c.sc after calling onclose.
...
The onclose callback might want to access c.sc.
2023-08-29 01:42:48 +02:00
Juliusz Chroboczek
892a4b8401
Fix parsing of server version.
2023-08-28 23:07:01 +02:00
Jackson Vieira
1ad91adf89
Fix audio activity detection for downstreams
...
Replaced the non-existent `track` property in `RTCStatsType`
with the valid `inbound-rtp` property.
2023-08-28 22:47:46 +02:00
Juliusz Chroboczek
ea49756a89
Update dependencies.
...
Fixes a crash in the TURN server.
2023-07-25 01:02:05 +02:00
Juliusz Chroboczek
27cc8c5273
Deal with missing profile id for VP9 and H.264.
2023-07-18 12:05:26 +02:00
Juliusz Chroboczek
a701d8c6fa
Remove client-side support for protocol version 1.
2023-07-16 15:54:58 +02:00
Juliusz Chroboczek
a845e9f722
Special-case screenshare in setSendParameters.
...
This avoids restarting the stream when changing simulcast
settings.
2023-07-14 23:59:06 +02:00
Juliusz Chroboczek
5722270cc7
Disable active TCP candidates.
...
Active TCP candidates were added in Pion 3.2.11.
2023-07-14 14:44:24 +02:00
Juliusz Chroboczek
90ce111b44
Update dependencies.
2023-07-14 14:41:10 +02:00
Juliusz Chroboczek
c9386eb63d
Improve error reporting in CodecPayloadType.
2023-07-12 12:11:40 +02:00
Juliusz Chroboczek
99a7302715
Update CHANGES.
2023-07-11 18:07:47 +02:00
Juliusz Chroboczek
1e050fa4e3
Implement the WHIP protocol.
2023-07-11 17:25:58 +02:00
Juliusz Chroboczek
90e2de0b2d
Add configuration option publicServer.
2023-07-10 23:59:24 +02:00
Juliusz Chroboczek
bb0a01895e
Disable simulcast on Firefox by default.
...
Simulcast interacts strangely with VP9.
2023-07-09 17:34:28 +02:00
Juliusz Chroboczek
4f37c28467
Update CHANGES.
2023-07-09 16:40:12 +02:00
Juliusz Chroboczek
69445d67f5
Change default video codec to VP9.
2023-07-09 16:33:39 +02:00
Juliusz Chroboczek
7062ba1001
Update CHANGES for 0.7.2.
2023-07-09 14:02:47 +02:00
Juliusz Chroboczek
5aff224e62
Complete token.stateful.Clone.
2023-07-09 11:52:13 +02:00
Juliusz Chroboczek
e73aaa31d7
Remove tokens.Del.
...
It was unused.
2023-07-09 11:51:18 +02:00
Juliusz Chroboczek
1afb3c85b0
Open microphone early on Safari.
...
Safari forbids autoplay and omits host candidates unless the microphone
is open.
2023-07-05 23:41:59 +02:00
Juliusz Chroboczek
0de0199742
Resynchronise with disk when editing tokens.
...
We used to assume that the in-memory representation is in sync
when editing a stateful token. That is usually the case, since
editing requires knowing the token to edit, but resynchronising
here is the right thing to do.
2023-05-19 15:08:05 +02:00
Juliusz Chroboczek
6a3b9a3b7e
Fix typo in README.
...
Thanks to Fabien de Montgolfier.
2023-05-16 18:54:35 +02:00
Juliusz Chroboczek
4acd60022f
Update CHANGES for 0.7.1.
2023-05-14 21:22:42 +02:00
Juliusz Chroboczek
3c0dbf5e9b
Reliably return an error from token.Parse.
...
We would sometimes return nil cast to an interface with no error,
which would cause the server to crash with a null dereference.
2023-05-14 21:14:59 +02:00
Juliusz Chroboczek
dc8a78be32
Add test for parseStatefulToken.
2023-05-04 03:32:44 +02:00
Juliusz Chroboczek
76066a1a10
Fix error handling in maketoken.
2023-05-04 03:31:09 +02:00
Juliusz Chroboczek
2c852206bd
Add dialog for generating tokens.
2023-05-03 23:30:48 +02:00
Juliusz Chroboczek
1afd995844
Improve token formatting.
2023-05-03 22:55:27 +02:00
Juliusz Chroboczek
cfb5d936ee
Improve interface to makeToken.
...
It now takes a template that allows setting all options.
2023-05-03 18:48:35 +02:00
Juliusz Chroboczek
3228147eed
Tweak README.
2023-05-03 14:48:54 +02:00
Juliusz Chroboczek
1879ec81ea
Don't send empty version fields.
...
We used to send a null version field in every message. Don't.
2023-04-29 19:59:36 +02:00
Juliusz Chroboczek
e786e1bd11
Pass file transfer cancel message to callback.
2023-04-28 16:57:00 +02:00
Juliusz Chroboczek
8f1bc93cca
Protect against clients with an empty id.
2023-04-28 16:51:17 +02:00
Juliusz Chroboczek
7f93aa5dc8
Simpler Firefox workaround in addUpTrack.
...
Rather than trying to determine whether the workaround is needed,
we now perform it unconditionally, and ignore the resulting exception
on non-broken browsers.
2023-04-13 22:26:41 +02:00
Juliusz Chroboczek
3ea4b8a32a
Remove Firefox workaround from setUpStream.
...
This is no longer needed since version 110.
2023-04-13 16:37:26 +02:00
Juliusz Chroboczek
3b0468db50
Update CHANGES for 0.7.0.
2023-04-10 15:29:48 +02:00