- Description:
- Media streaming and broadcast systems in Go
- Owner:
- Oliver Lowe
- Last Change:
- Clone URL:
https://git.olowe.co/streaming
Commit Briefs
internal/sip: extract containsSpace function (main, tags/v0.0.1)
We'll need it later and we're a few nested for loops and if stmts down so a little cleaner once we do this a few more times.
sip: handle To, From fields in the header with their own type
Now we handle the tag header parameter, and all the different forms the values of To and From can have.
Unpublish draft jxs package
Not ready... if ever?
mpegts: test for expected PCR base, extension values
Parsing the base and extension ticks of the PCR was actually incorrect. Whilst we were consistently storing and decoding values, they were incorrect values. This patch adds tests which concretely exposed the bug spotted by @kevmo314. Thanks again!
fix incorrect pcr base calculation
Fixes the base calculation by removing the 7 rightmost reserved and extension bits.
wav: support format extension field
It's an optional field, but aucat(1) from OpenBSD creates files with this field populated so I feel like it may not be that obscure in the wild.
Branches
Tree
.gitignore | commits | blame |
LICENSE | commits | blame |
README.md | commits | blame |
cair/ | |
cmcd/ | |
cmd/ | |
go.mod | commits | blame |
internal/ | |
m3u8/ | |
mpegts/ | |
pcap/ | |
rtp/ | |
scte35/ | |
sdp/ | |
wav/ |
README.md
[](https://pkg.go.dev/github.com/untangledco/streaming) [](https://0dependencies.dev) This repository contains packages for developing media streaming systems in Go. Watch it being developed live! - [twitch.tv/untangledco] - [youtube.com/@untangledco] We use these packages to self-host the livestream at [olowe.co/live]. [twitch.tv/untangledco]: https://twitch.tv/untangledco [youtube.com/@untangledco]: https://www.youtube.com/@untangledco [olowe.co/live]: https://olowe.co/live ## Contributing ### Stuff to do Larger, fleshed-out tasks are managed in [issues](https://github.com/untangledco/streaming/issues). There are `TODO` notes in the source code, too. [godoc] provides a graphic interface to view these with the `-notes` flag: godoc -notes TODO Of course `grep` works too: git grep -n TODO [godoc]: https://pkg.go.dev/golang.org/x/tools/cmd/godoc ### Patches Patches are preferred via email so that we're not too locked in to GitHub. Post them to the mailing list [~otl/untangledco@lists.sr.ht] ([archives]). or to [Oliver Lowe]. See [git-send-email.io] if you're unfamiliar with the workflow. git config sendemail.to '~otl/untangledco@lists.sr.ht' We also accept changes via [pull request]. ### Commit messages Commit messages follow the same format used by the [Go] project (and others). The commit subject starts with the affected package name then a brief description of the change. The body may contain an explanation of the change and why it was made. For example: sdp: store attributes as key-value pairs This matches what the spec allows, and lets users not worry about encoding. [archives]: https://lists.sr.ht/~otl/untangledco [~otl/untangledco@lists.sr.ht]: mailto:~otl/untangledco@lists.sr.ht [git-send-email.io]: https://git-send-email.io [pull request]: https://github.com/untangledco/streaming/pulls ### Code review We try to make all code feel familiar to Go programmers so that it's easier for others to learn from and contribute to in the future. In general we follow the guidelines laid out in the following articles: - [Effective Go] - [Go Code Review Comments] Don't worry if you're asked about changing things around! If there are trivial changes, we may make the changes ourselves. In this case you still retain all authorship and copyright over your submission. If you've read this far and want to join in but feel a little unsure; I know *exactly* how you feel. Please feel free to email [Oliver Lowe] and maybe I can help out :) [Effective Go]: https://go.dev/doc/effective_go [Go Code Review Comments]: https://go.dev/wiki/CodeReviewComments [Go]: https://go.dev/doc/contribute#commit_messages [Oliver Lowe]: mailto:o@olowe.co ## License Unless otherwise noted, this sotfware is licensed under the ISC License. See LICENSE.