Commits
- Commit:
74364bb7c33ecf3fdef8c8a361310c2f1992c1bd
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: put hlsserve with all the other commands
- Commit:
15e217461acc59522f43002bbd5233d88d0ba10f
- From:
- Oliver Lowe <o@olowe.co>
- Date:
delete dummy ptp package
We can create it when we want to create it. Think this was
accidentally added by me, sorry!
- Commit:
34d647b964d037705c244de67dc552c4ce4615ca
- From:
- Arthur D <a.dranchuk@setplex.com>
- Via:
- Oliver Lowe <o@olowe.co>
- Date:
fix: play rate as decimal
- Commit:
b80fe72bf0cda6e47989801e6e86bb43a03bb2d7
- From:
- Oliver Lowe <o@olowe.co>
- Via:
- GitHub <noreply@github.com>
- Date:
Advertise zero dependencies
Because it’s a distinguishing feature of the project!
- Commit:
c09ddbced03b4d97e812871bcfe48b196390f3b3
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rtp: let test session only accept local connections
- Commit:
52483617f8dc2116b504a6a85274b3c44a119ecd
- From:
- Oliver Lowe <o@olowe.co>
- Date:
scte35: support decoding private commands
Resolves: https://github.com/untangledco/streaming/issues/29
- Commit:
3b1acc9102e2f96d3b40224dee1007a820c89675
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rtp: finish header length documentation
- Commit:
f7c6ae15d84416d1c6a4d34c1c5a35a35ecbb612
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: export Encode, Decode functions
Use Go's io.Reader and io.Writer so that we don't have to keep
everything in memory, and it works in a way that Go programmers are
familiar with.
- Commit:
cb9f53840ce84710f2da783c0f4efc3a96479ba2
- From:
- Oliver Lowe <o@olowe.co>
- Date:
mpegts: let callers handle packet length errors explicitly
- Commit:
7c79b0547941d5c8539ca8c8206cefdf0f4f74aa
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: clarify purpose of some sample playlists
Big Buck Bunny is the classic test sample for a lot of video dev work.
tos.m3u8 is here because it is a valid playlist containing lots of
comments and empty lines. Unusual, but still a valid playlist; hoping
it will help catch bugs in our parser's handling of comments and
whitespace.
- Commit:
fa32a75741dba59c89d92757937ef9039129dea1
- From:
- Jacob Hitchins <44385069+jacobhitchins@users.noreply.github.com>
- Via:
- Oliver Lowe <o@olowe.co>
- Date:
sdp: only apply TTL field to ipv4 connections
As per section 5.7 of RFC 8866: "IP6" multicast does not use TTL
scoping, and hence the TTL value MUST NOT be present for "IP6"
multicast. Amends comment to clarify it only applies to IPv4 packets.
- Commit:
96a874b067dad9a5704171d9c63a5594b6d42e3d
- From:
- Oliver Lowe <o@olowe.co>
- Date:
sdp: resolve remaining validation, documentation TODOs
No real changes, just notes. Always encode a valid timestamp when
session start time is unset but an end time is set. Document the TTL
in ConnInfo is a specific property of multicast traffic. No need to
impose more structure on session Attributes when the data is pretty
free-form anyway (similar to http.Header). Safely round times in
session repeat schedules to ensure we never write invalid decimal
places.
- Commit:
8d2c4bc42dfbbe01d8d7cfd968ca60c8048ae6f9
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rtp: correct string values for PCM audio payload types
- Commit:
2e4d2483483becc6c7c2bb0350b3693ad7382931
- From:
- Oliver Lowe <o@olowe.co>
- Date:
sdp: use a working live audio stream description for the example
- Commit:
2019fa0504b90a8b3609d4bb69731c916de2c272
- From:
- Oliver Lowe <o@olowe.co>
- Date:
sdp: parse IP addresses as netip.Addr
Using Addr, we don't have to keep track of the address type ourselves.
We also get a guarantee that the values are actually valid IP
addresses.
- Commit:
6c87f537549ca5125fbe7faa7cd4e9353e031e8f
- From:
- Oliver Lowe <o@olowe.co>
- Date:
sdp: make the empty Origin Username useful
One less thing for users to worry about, and we'll always encode a
valid value.
- Commit:
e6908ad17804237bb7f0669edc99e86339a18d84
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: support only current savefile version
Reduces the stuff our package exposes. As a bonus we actually return
an error if somehow we try to decode a file we may not be able to
safely such as older, newer or invalid versions.
- Commit:
48bf5f705fadc940d6218ec5051f86d002541015
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: ignore unused global header fields
From pcap-savefile(5) for both the fields:
> SHOULD be filled with 0 by pcap file writers, and MUST be ignored by
> pcap file readers.
- Commit:
b4fa198b81781fa6ca022e1777da1278858f0487
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: name testing data directory the usual name
While here name pcap file based on its actual contents.
- Commit:
98958a8b50e9398fe443c5fc1af6564227b4bfb8
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: test for expected values
Checking just the number of elements in a slice, then eyeballing
printed output is prone to human error.
- Commit:
de0ee9781f1a9dc39f34bf012c85bb8ef6438179
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: rename parser.go to pcap
There's no mention of any parsers, and we only have one file
containing both encoding and decoding pcap data.
- Commit:
ac0bbf61fe81b5d097be816471b5b166591691b4
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: drop superfluous endianness payload encode
Because it's just a slice of bytes, endianness does not apply.
- Commit:
46154743acb8d0a4df8c59c9ddf2ebcab2258eec
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: decode magic number once
Otherwise we're dealing with it twice when binary.Read does what we
need already.
- Commit:
3d44323d83ce2404e0b6a1369158950e7c7f777a
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: use data slice length to set length in header
One less thing to keep in sync.
- Commit:
2891cccd2f9ecaaa53bd3897d5962e96980324a1
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: store packet timestamp as a time.Time
Easier to work with.