1
Fork 0
Commit Graph

20 Commits

Author SHA1 Message Date
Juliusz Chroboczek 448bb0374d Use pushConn to delete connections.
The previous mechanism (going through up.local) was racy and complicated.
2020-06-10 19:50:18 +02:00
Juliusz Chroboczek f9edde6526 Maintain time offsets on the sender side. 2020-06-09 01:06:09 +02:00
Juliusz Chroboczek 208f023d9e Make upConnections generic. 2020-06-08 22:14:28 +02:00
Juliusz Chroboczek da97560cb3 Protect upConn.tracks by the upConn mutex rather than the client mutex.
Also don't rely on tracks being immutable in sendRR.
2020-06-08 19:11:20 +02:00
Juliusz Chroboczek 19a65318c9 Compute down track RTT. 2020-06-03 23:45:45 +02:00
Juliusz Chroboczek 3e305e9827 Use jiffies instead of microseconds. 2020-06-03 20:58:01 +02:00
Juliusz Chroboczek 5b92226860 Maintain full time information from sender reports. 2020-06-01 01:09:15 +02:00
Juliusz Chroboczek 70dee15f5c Rename rate.Add to rate.Accumulate. 2020-06-01 00:02:17 +02:00
Juliusz Chroboczek 37b1994069 Fail addLocal if connection is closed. 2020-05-30 03:44:03 +02:00
Juliusz Chroboczek d8b984979b Rename client to webClient. 2020-05-30 03:26:05 +02:00
Juliusz Chroboczek d56628be15 Send FIR when WriteRTP returns ErrKeyframeNeeded. 2020-05-30 03:26:05 +02:00
Juliusz Chroboczek 88fbce262f Implement sendFIR. 2020-05-29 20:57:46 +02:00
Juliusz Chroboczek 4b3ce50dac Use explicit add/remove messages in writerLoop. 2020-05-27 11:25:37 +02:00
Juliusz Chroboczek e7f9a8f3dc Make downTrack and downConnection into interfaces. 2020-05-27 11:24:52 +02:00
Juliusz Chroboczek 9488d4a7c8 Add WriteRTP and Accumulate methods to downTrack. 2020-05-27 11:24:52 +02:00
Juliusz Chroboczek d45d111084 Remove erroneous iceCandidates field from upTrack. 2020-05-27 11:24:44 +02:00
Juliusz Chroboczek bfdc22ff83 Maintain local connections explicitly. 2020-05-23 02:34:28 +02:00
Juliusz Chroboczek 4699c338e1 Cache early ICE candidates. 2020-05-23 02:34:28 +02:00
Juliusz Chroboczek 6005ad9eb4 Create a connection interface, use it in gotICE. 2020-05-22 22:36:47 +02:00
Juliusz Chroboczek 6d6cb6caf2 Split out connection-related code into conn.go. 2020-05-22 22:29:31 +02:00