1007 Commits

Author SHA1 Message Date
Bao Nguyen d265906d6f Fixing panic for VP9
Once [1] is merged, this will allow for VP9 codec
to be loaded but noop which will fix [2] from panic
when attempting to use VP9.

[1] https://github.com/pion/rtp/pull/39
[2] https://github.com/pion/example-webrtc-applications/issues/37
2020-01-20 21:18:39 -08:00
Atsushi Watanabe 27d9bbb7bd Upgrade golangci-lint to 1.19.1
Fix whitespace and stylecheck errors.
Disable godox.
2020-01-11 22:59:33 -08:00
Renovate Bot 82324ccff6 Update module pion/rtp to v1.2.1
Generated by renovateBot
2020-01-09 23:56:27 -08:00
Sean DuBois 340f616110 Bump pion/sdp
Build is currently broken, use latest verion of pion/sdp
2020-01-08 12:32:30 -05:00
adwpc da03cb4a4d RTP codec and sdp support transport-cc
RTP codec and sdp support transport-cc
2020-01-08 22:31:56 +08:00
adwpc bac0c492a9 Sdp support transport-cc
Sdp support transport-cc
2020-01-08 22:31:56 +08:00
Konstantin Chugalinskiy df4e38f4c2 Expose an API to get Packetizer of the Track
Add a new public method, Packetizer, under Track to allow access
to get corresponding Packetizer to allow developers configure it.
2020-01-07 05:15:30 -08:00
Lukas Herman 726a16faa6 Add Lukas Herman to README
Add Lukas Herman to the contributor list in README
2020-01-05 21:13:45 -08:00
Lukas Herman 8cd3fdc980 Expose an API to get registered RTPCodec list
Add a new public method, GetRegisteredRTPCodecs, under PeerConnection
to allow access to get the registered list of RTPCodec from the
underlying MediaEngine for developers who want to build libraries on
top of pion.

Resolves #966
2020-01-05 21:13:45 -08:00
cyannuk 14fa0b54ef Take Track write Lock in NewRTPSender
Track is locking for reading when actually writing
is taking place
2019-12-29 00:08:44 -08:00
Atsushi Watanabe 974d2e2b5f Fix codecov config
Rename config file since .codecov.yml is ignored on codecov server.
Remove unused field.
2019-12-28 00:01:11 -08:00
Renovate Bot b9e14eade2 Update module pion/rtp to v1.2.0
Generated by renovateBot
2019-12-27 23:11:30 -08:00
Renovate Bot 60cc9112f3 Update dependency wrtc to v0.4.3
Generated by renovateBot
2019-12-25 00:03:38 -08:00
Sean DuBois a16acf8dda Properly merge WASM+Go reports
Before codecov was ignoring flags, and we were only
getting the last report uploaded.
2019-12-21 02:00:30 -08:00
Sean DuBois 7f53f4b7a8 Fix PopulateFromSDP with Application MediaSection
PopulateFromSDP did not properly handle Offers with Datachannels, now
we only parse a MediaSection that has a name of 'audio' or 'video'

Resolves #953
2019-12-20 01:17:21 -08:00
Sean DuBois 7375019635 Bump pion/dtls
Fix flakey PeerConnection tests that failed with EOF errors.

Relates to #943
2019-12-19 00:30:09 -08:00
Atsushi Watanabe e8bf346f26 Update CI script
Run lint/test/WASM-test/i386-test in parallel.
Node is upgraded to v12 as v11 is EOL-ed.
Take coverage of WASM code.
2019-12-18 23:58:40 -08:00
Atsushi Watanabe 1d69a90d23 Fix seqnum distance in SampleBuilder
Fix overflow and underflow handling.
2019-12-19 10:24:32 +09:00
Renovate Bot 303c9aaa5d Update module pion/dtls/v2 to v2.0.0-rc.4
Generated by renovateBot
2019-12-15 02:35:17 -08:00
Atsushi Watanabe 9fca58f510 Reduce blocking in datachannel handler
OnOpen handler is sometimes called with a huge delay in
TestDataChannel_Open and causes handler_should_be_called_once
failure.
This commit minimizes mutex lock scope around handler registration
and removes redundant mutex.

Also, add sleep before closing PeerConnections in
TestDataChannel_Open to ensure all messages are processed.
2019-12-15 02:13:29 -08:00
Atsushi Watanabe 7daea311ad Add codecov config
Coverage calculation on CI is noisy and often causes false-positive
error unrelated to the code change. This sets tolerance of project
coverage error to 2% and diff coverage target to 70%.
2019-12-15 02:10:56 -08:00
Atsushi Watanabe 6b826706ab Speed-up i386 test
Share modules cache directory with the host.
Use i386/golang:1.13-alpine image to reduce docker pull size half.
2019-12-15 02:10:30 -08:00
Atsushi Watanabe accfca4575 Add SampleBuilder.PopWithTimestamp
PopWithTimestamp function is added to provide RTP timestamp
of the sample.
This makes it possible to detect frame drops in user application.
2019-12-14 20:35:52 +09:00
Sean DuBois 289736c19d Update README.md
Update to provide users more useful information and less filler
2019-12-14 00:58:29 -08:00
Sean DuBois 42c4ad7131 Add awesome badge
Add awesome badge with link to awesome-pion repo
2019-12-13 20:17:36 -08:00