Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
472 stars 292 forks source link

[Open-AVB] simple_listener #205

Open swethachallawar opened 9 years ago

swethachallawar commented 9 years ago

I am trying to understand the simple_listener.c. What I observe is, the simple listener is sending a ready(send_ready API) on seeing a talker. However, wouldn't the listener need to check the availability of bandwidth before sending a ready? If so, is there any API/call in open-avb code that checks for bandwidth requirements at the listener side. Also, I would like to understand which APIs are taking care of validating and setting Listener Ready, Listener Ready Failed and Listener Asking Failed.

Thanks Swetha

andrew-elder commented 9 years ago

simple listener is exactly that - a simple listener example application. It does not attempt to handle error conditions. That said, if you wanted to add a module that that better tested for error conditions I'm sure that would be a welcome addition to the Open-AVB codebase.

On 4/13/2015 7:17 AM, Swetha Challawar wrote:

I am trying to understand the simple_listener.c. What I observe is, the simple listener is sending a ready(send_ready API) on seeing a talker. However, wouldn't the listener need to check the availability of bandwidth before sending a ready? If so, is there any API/call in open-avb code that checks for bandwidth requirements at the listener side. Also, I would like to understand which APIs are taking care of validating and setting Listener Ready, Listener Ready Failed and Listener Asking Failed.

Thanks Swetha

— Reply to this email directly or view it on GitHub https://github.com/AVnu/Open-AVB/issues/205.

Andrew Elder AudioScience, Inc. +1-585-271-8870 www.audioscience.com

swethachallawar commented 9 years ago

sure, our project might need to do error checks too. Thank you so much for the response !

Thanks Swetha