streaming icon indicating copy to clipboard operation
streaming copied to clipboard

scte35: support decoding splice_schedule command type

Open ollytom opened this issue 1 year ago • 2 comments

We support encoding splice_schedule commands (see packEvents), but we don't support decoding them yet. For consistency, we could have two functions, unpackEvent and unpackEvents in command.go after packEvent.

We'll need accompanying tests in command_test.go. For example, a test could encode then decode the same splice_schedule command then test equality of the returned []Event.

ollytom avatar Jul 01 '24 10:07 ollytom

Have you ever seen one in the wild? I'm just curious. I write some scte-35 stuff. I dropped support for Splice Schedule. I've never seen one I didn't make myself.

futzu avatar Nov 16 '24 15:11 futzu

Have you ever seen one in the wild?

Haha good question! Never actually now that I think about it.

I dropped support for Splice Schedule.

Not a bad idea. At least could store it as raw byte slice.

Thanks for reaching out :) Any other tips?

ollytom avatar Nov 30 '24 02:11 ollytom