Module bt_a2dp::media_task

source ·
Expand description

Task Abstractions




  • MediaTasks represent a media stream being actively processed (sent or received from a peer). They are are created by MediaTaskRunner::start. Typically a MediaTask will run a background task that is active until dropped or MediaTask::stop is called.
  • MediaTaskRunners are configured with information about the media codec when either peer in a conversation configures a stream endpoint. When successfully configured, they can start MediaTasks by accepting a MediaStream, which will provide or consume media on that stream until dropped or stopped.
  • MediaTaskRunners represent an ability of the media system to start streaming media. They are configured for a specific codec by MediaTaskBuilder::configure Typically a MediaTaskRunner can start multiple streams without needing to be reconfigured, although possibly not simultaneously.