Open
Description
This would allow for a number of additional use-cases. Basically:
- If neither
subUrl
norsubContent
is set, create an empty track usingass_new_track
- Expose an API to pass in a string to call
ass_process_data
on (for streaming raw text) - Expose an API to pass in a string to call
ass_process_codec_private
on, and one to pass in a string + timestamp + duration to callass_process_chunk
on- Alternately, you could have a member in the
options
object called e.g.subHeader
thatass_process_codec_private
is called on at startup, though I don't see a reason not to allow deferring it.
- Alternately, you could have a member in the