workers/codec_worker library

Constants

kRoleAudio → const String
See kRoleVideo.
kRoleVideo → const String
Role of a codec worker, chosen by the host in the initial message.

Functions

codecWorker(WorkerChannel channel) Future<void>
Hosts one decoder — video or audio — for the life of the worker.
main() → void