Antoine Baché
07e5c4e07e
Implementation of opuswriter
...
- Implemented a common "Writer" interface
- Made IVFWriter compliant to the new interface
- Implemented an OGG Opus writer
- Updated the save-file example
- Updated janus-gateway/streaming example
- Wrote a few unit tests for opus-writer
- Wrote a few unit tests for ivf-writer
- Fixed filenames
- Improved API to allow tests using an io.Writer
2019-02-27 12:02:34 -08:00
Sean DuBois
6aeb3425b0
Move to new Track API
...
See v2.0.0 Release Notes[0] for all changes
Resolves #405
[0] https://github.com/pions/webrtc/wiki/v2.0.0-Release-Notes#media-api
2019-02-25 23:44:09 -08:00
backkem
f5d11df18d
API: Review DataChannel
...
Resolves #427
2019-02-22 15:35:32 +01:00
backkem
64644e594b
QUIC: Move out of tree
...
This moves the QUIC API out of tree to pions/quic.
2019-02-21 14:27:50 +01:00
Sean DuBois
632b16b852
Update golangci-lint to v14.0.0
...
Update linter to newest version and fix all new issues
2019-02-17 21:35:04 -08:00
Will Watson
8141bba1a1
Enable gocritic and fix reported errors
...
This change enables the gocritic linter and fixes all reported errors.
2019-02-17 21:35:04 -08:00
Max Hawkins
0e7086d37a
Remove RTC prefix from all names
...
Let's pull off the bandaid!
* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)
Since we're breaking the API in 2.0, our only chance to
do this is now.
Relates to #408
2019-02-17 16:22:56 -08:00
Sean DuBois
5efb6b0b7f
Fix SampleBuilder not respecting maxLate
...
SampleBuilder now respects maxLate after a buffer have been popped
2019-02-14 22:39:02 -08:00
Sean DuBois
885c5daf0d
Switch quic-go to pions fork
...
quic-go currently doesn't support Go modules, switch to a fork
until upstream adds modules support.
https://github.com/lucas-clemente/quic-go/issues/1781
2019-02-11 14:42:49 -08:00
Sean DuBois
2863555984
Export RTP/RTCP to unique packages
...
Resolves #272
2019-01-28 11:38:54 -08:00
Michael MacDonald
2b2c09fc3e
Add remote TURN support
...
Allow connection to remote relay candidates when the peer is
configured as a TURN client. NB: Does not yet add support for
local relay candidates.
2019-01-28 11:27:15 -05:00
Sean DuBois
fc275ba7ed
Enable QUIC tests
...
QUIC still leaks, but not causing other tests to flake
2019-01-27 10:48:43 -08:00
Woodrow Douglass
6bbf915722
Add test coverage
...
for the log formatting functions
Relates to #333
2019-01-23 16:21:13 +01:00
backkem
5346aaee59
STUN: update dependency
...
Updating STUN dependency to new top level repo.
2019-01-21 12:14:59 -08:00
Hugo Arregui
dfafda96cf
Agent handles any inbound package
...
- STUN messages are still handled by handleInboundPackage
- Non STUN messsage will be marked as seen by a new agent method called
NoSTUNSeen. This way we update lastReceived properly, not just for
STUN messages
2019-01-21 17:17:57 +01:00
Michael MacDonald
665d68b6d2
Logging cleanup
...
Adjust more ICE logging messages to be at Trace level.
Refers to #361
2019-01-19 20:03:52 -08:00
Michael MacDonald
ac50aae718
Quiet spammy log messages
...
These messages should be at Trace level or removed altogether.
Relates to #222
2019-01-16 19:16:51 +01:00
Michael MacDonald
2883a4e959
Make logging.LogLevel a Stringer
...
Convenience function for printing the log level
as a string.
Relates to #222
2019-01-16 19:16:51 +01:00
Yutaka Takeda
d3c3079677
Fixed: unused agent
...
Resolves #335
2019-01-14 13:42:40 -08:00
Yutaka Takeda
09807a828e
Use a private version of AddRemoteCandidate
...
Per suggestion from Sean.
Resolves #335
2019-01-14 13:42:40 -08:00
Yutaka Takeda
58d8685d37
Added candidate conversion tests
...
Resolves #335
2019-01-14 13:42:40 -08:00
Yutaka Takeda
b2e77f9f1b
Added test for handleNewPeerReflexiveCandidate
...
Resolves #335
2019-01-14 13:42:40 -08:00
Yutaka Takeda
342642c2b4
Move prflx detection routine to a separate method
...
Resolves #335
2019-01-14 13:42:40 -08:00
Yutaka Takeda
2e81a07e3e
Detect then add prflx candidate
...
Resolves #335
2019-01-14 13:42:40 -08:00
Sean DuBois
bce2813b68
Update SRTP to allow in place operations
...
Relates to #272
2019-01-13 13:17:09 -08:00