tremor-runtime
tremor-runtime copied to clipboard
Add definable for `codec`
trafficstars
Describe the problem you are trying to solve
Right now codecs can't be configured or defined, this means every codec has to be hard coded instead of allowing us to integrate it in the standard library.
Describe the solution you'd like
As with all other defines we would have define codec.
Notes
- it is worth discussing if we need a
createhere as it is created when it's used in a connector. - it's also worth discussing how we would change the
define connectorto allow codec configuration - No examples are given yet as this is a tracking ticket for now.
To make matters worse, there is a new instance of both codec and postprocessor or preprocessor created for every new stream.
oh :sob: