Open-AVB AVTP Pipeline SDK  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Media Queue Usage

Description

This section presents the work flow required for working with the Media Queue. Please note that most of the described steps are performed inside the AVB stack and are hidden from interface module implemented. There are also some simplifications to make description as straightforward as possible.


Workflow

The following work flow steps will be described.


Starting

First the Media Queue has to be created and initialized with correct data. Below are the function calls needed for proper creation and initialization. Note: these calls are initiated from the AVTP module.

Now the listener/talker stream is running. See next steps below for details of Media Queue interaction for the talker and listener.


Talker specific flow

As a talker, an interface module is responsible for writing data to Media Queue, so important steps are:


Listener specific flow

As a listener, an interface module works on Media Queue tail elements. Data in those items is being written by the mapping module. These are the key Media Queue functions for the listener functionality in an interface module:


Stopping

During the stopping process following action are taken


Guidelines

More implementation details might be find in openavb_mediaq_pub.h