Commits
- Commit:
02e68a4c764537f911f5f17a1b82cdb9c101903e
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: parse segment title from EXTINF
Resolves: https://github.com/untangledco/streaming/issues/41
- Commit:
a42aeb2b574ec7a0b514a5f5bc08485de1c54bde
- From:
- Oliver Lowe <o@olowe.co>
- Date:
readme: note self-hosted livestream pause
- Commit:
c30923a3bde846499b74a9d44110611f16760230
- From:
- Oliver Lowe <o@olowe.co>
- Date:
wav: declare header var once
The rest are initialised to zero values so we don't have to do it ourselves.
- Commit:
837319ae0f0e1c5ee99ae680598cf0484093dc45
- From:
- Oliver Lowe <o@olowe.co>
- Date:
pcap: let caller decide to buffer writes
There was probably a bug here. Anyway it's less code!
- Commit:
54727822bfb89441860d93010ef0e15ca9a319a7
- From:
- Oliver Lowe <o@olowe.co>
- Date:
mpegts: shorter return
No need to annotate the error; caller knows we're unmarshalling.
- Commit:
abc6381f91d6b8e36cfafad15375034229a640b8
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rtp: tidy marshal, unmarshal
- Commit:
3faffc6a916cf7e63b45d795ef3c1d1be5441407
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: keep Rendition writing validation separate from Encode
Consistent with the rest of playlist fields.
While here delete duplicate Map writing function
- Commit:
896f60249033051fe531557d83031f3d0e2fa1c1
- From:
- Oliver Lowe <o@olowe.co>
- Date:
sdp: use encoding.TextMarshaler for Session encoding
fmt.Stringer is not really meant for larger multi-line text.
It sucks a bit that we may return an error, but this lets us
put some validation logic in; we don't have any validation yet.
- Commit:
035ab79449be5db836ae24e00d8bfe3317f14ea5
- From:
- Oliver Lowe <o@olowe.co>
- Date:
scte35: early return
Clearer than keeping most of the code indented
- Commit:
fdd78130c167098cab14bc621e8d8960de6c6b7c
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: de-indent variant parsing common path
Return early with guard statements
- Commit:
440f52398d25a5cddd80cefad5ba8631b5e7eaf7
- From:
- Oliver Lowe <o@olowe.co>
- Date:
scte35: correctly pack AudioChannel
Couple of problems. First we were unnecessarily masking bits. Secondly
we were toggling the wrong bits in the final byte of an encoded audio
channel in an AudioDescriptor.
Resolves: https://github.com/untangledco/streaming/issues/39
- Commit:
62d865db8655e6d23b4fccc3280d73c3cdda8ce9
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: de-indent happy key, playlist parse path
Everything else are essentially guard statements
- Commit:
3df4029f13d7c363d034d1c5aed186ba947ab8a6
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: unexport, use consistent timestamp layout
The layout is meant to be used internally; the external interface is
regular time.Time values.
- Commit:
a5e36fbfb60aadd58d7a06c29272251c0a8f8c0e
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: define segment parsing once
It's a bit of a hack that we read one item too many from the lexer.
This change modifies segment parsing by sending the already consumed
lexer items and subsequent lexer items back through another channel.
Maintaining the original order through a channel means we can parse a
segment in a single loop. Much shorter than dealing with the first
item and all other items separately.
This puts off looking into any redesigns of the lexer. For now...?
- Commit:
093b7480bc7275b0047361f2f87d3992bc71e5ee
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: document at a high level what DateRange structure is
- Commit:
4c423c95b51ec023fcbd1e8c0dfe8bbcf672c525
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: include source of playlist
So we all know where it comes from if we want to get more.
- Commit:
3e2200b9e76d35b13e385535acdd87583441afbe
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: parse EXT-X-PROGRAM-DATE-TIME tag
- Commit:
9d0a9c380ce962f56c141d6db6fdacd7a41bf831
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: support parsing EXT-X-MAP tag
- Commit:
a30e111bb1d9e62aac3810e51749241f488e046a
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: support parsing segment keys
- Commit:
1146e3cfa554e40c95835cd5fd7c65eb7afb40aa
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: add validation to segment parsing tests
Tests fail, but at least we have exposed the bugs
- Commit:
e5a2561859aaf24e6368af6a4e82fc8112bc3d08
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: ignore trailing commas, support quoted string attributes
Playlist from
https://test-streams.mux.dev/dai-discontinuity-deltatre/manifest.m3u8
containing discontinuities exposed the bugs.
- Commit:
3083e3dd1cb493efa7557138726614b1d3758e81
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: enable toggling lexer debug output
- Commit:
5b0199e0674b051428672a1460ed5109b3cedadf
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: add higher-level variant test
We weren't really testing whether variants we parse from a playlist
were what we expect.
References: https://github.com/untangledco/streaming/issues/34
- Commit:
a2109c70b8c1180b4a6b9400e503e37ff4abdda8
- From:
- Oliver Lowe <o@olowe.co>
- Date:
m3u8: test more bad resolutions
We don't necessarily need to make it easier to specify Variant test cases,
we can pick the already easy-to-test bits of Variant to make better.
References: https://github.com/untangledco/streaming/issues/34
- Commit:
18185121cc63011d9f097754c13cdc4cc11fd72b
- From:
- Oliver Lowe <o@olowe.co>
- Date:
avhelp: delete
The idea was to have a little playground using the packages we
developed. But it didn't really turn out to be useful.