class CodecAdmissionControl
Defined at line 26 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_admission_control.h
Public Methods
void CodecAdmissionControl (async_dispatcher_t * shared_fidl_dispatcher)
Create with a dispatcher to post async calls to the shared fidl thread.
Defined at line 78 of file ../../src/media/lib/codec_impl/codec_admission_control.cc
void TryAddCodec (bool multi_instance, fit::function<void (std::unique_ptr<CodecAdmission>)> continue_after_previously_started_channel_closes_done)
Get a move-only CodecAdmission as a move-only ticket that allows creation
of a CodecImpl.
TODO(dustingreen): std::optional
<
> instead when C++17.
Defined at line 12 of file ../../src/media/lib/codec_impl/codec_admission_control.cc
void PostAfterPreviouslyStartedClosesDone (fit::closure to_run)
Anything posted here will run after any previously-posted items here or via
TryAddCodec().
Run the posted closure after all previously-started closes are done being
processed, and after all previously-queued closures via this method are
done.
Defined at line 22 of file ../../src/media/lib/codec_impl/codec_admission_control.cc
Friends
class CodecAdmission