• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pions / srtp
41%

Build:
DEFAULT BRANCH: master
Repo Added 28 Jan 2019 02:51AM UTC
Files 13
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 10--fix-out-of-bounds-access
  • constant-time-compare
  • issue-3
  • keying
  • optimize-generate-counter
  • optimize-new-ctr
  • optimize-session-auth-tag
  • optimize-write-rtp
  • read-buffer
  • session-alloc
  • update-rtcp
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.0.4
  • v1.1.0
  • v1.1.1
  • write-batch

pending completion
106

push

travis-ci

kixelated
Optimize Read with buffering

This avoids channel/lock coordination in favor of performing a copy and
always adding the packet to a queue. Obviously I hate performing copies,
but I think this is the fastest approach with the current API.

This fixes much of the packet loss on the reader side.

79 of 79 new or added lines in 4 files covered. (100.0%)

310 of 747 relevant lines covered (41.5%)

10.73 hits per line

Relevant lines Covered
Build:
Build:
747 RELEVANT LINES 310 COVERED LINES
10.73 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
106 master Optimize Read with buffering This avoids channel/lock coordination in favor of performing a copy and always adding the packet to a queue. Obviously I hate performing copies, but I think this is the fastest approach with the current API. This fix... push 11 Mar 2019 04:21AM UTC kixelated travis-ci pending completion  
103 master Update information on joining Slack pion.ly provides better instructions on joining push 09 Mar 2019 09:15AM UTC Sean-Der travis-ci pending completion  
100 master Optimize WriteRTP The old EncryptRTP API causes an extra header Unmarshal and payload Marshal. By passing the `*rtp.Packet` through the stack, we're able to avoid both of these. There was also an extra reallocation caused by using append. ``` n... push 08 Mar 2019 05:04AM UTC kixelated travis-ci pending completion  
94 master Update pions/rtcp to v1.1.0 Update module and use new compound packet API push 07 Mar 2019 09:06PM UTC Sean-Der travis-ci pending completion  
83 master Optimize getOrCreateReadStream The allocation of a readStream every time was causing a ton of allocations for no reason. Passing in a function makes it faster. push 05 Mar 2019 11:43PM UTC kixelated travis-ci pending completion  
59 master Bump pions/rtp to v1.0.1 Closes #nil push 27 Feb 2019 06:37AM UTC Sean-Der travis-ci pending completion  
58 master Fix out-of-bounds slice access in DecryptRTCP Slice was truncated to exclude the authentication portion, but was then accessed beyond the truncated portion to read the index. Test did not catch it because slice backing memory happened to be valid... push 23 Feb 2019 12:54AM UTC thinkski travis-ci pending completion  
53 master Optimize session auth tag generation I profiled my application and crypto/hmac.New was taking 5.71% of the total CPU time. Since the session key does not change, you can call crypto/hmac.Reset() instead of making a new object. This reuses previou... push 17 Feb 2019 08:02PM UTC kixelated travis-ci pending completion  
37 master Constant time comparison for auth verification It's a subtle change. Get it? Timing attacks rely on measuring the amount of time it takes for an operation to complete. The idea is that programs will break out early on error, and sometimes it can... push 16 Feb 2019 08:32AM UTC kixelated travis-ci pending completion  
27 master Speed up EncryptRTP and make it append new: BenchmarkEncryptRTP-8 300000 5181 ns/op BenchmarkEncryptRTPInPlace-8 300000 4480 ns/op old: BenchmarkEncryptRTP-8 200000 6378 ns/op BenchmarkEncryptRTPInPlace-8 ... push 15 Feb 2019 06:48AM UTC kixelated travis-ci pending completion  
See All Builds (96)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc