Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to implement multiple stream audio and video #215

Closed
keyurparekh1 opened this issue May 14, 2015 · 10 comments
Closed

Need to implement multiple stream audio and video #215

keyurparekh1 opened this issue May 14, 2015 · 10 comments
Labels

Comments

@keyurparekh1
Copy link

Hi,

did any body try to send multiple stream from single talker? I need help to implement multiple audio stream to send from one talker to multiple listener.

@intel-ethernet
Copy link
Contributor

Maybe a dumb question – but do you mean sending one stream from a single talker to multiple listeners, or sending multiple streams from a single endpoint to multiple listeners?

If it is the latter, it’s a question of multiple audio feeds into multiple streams and muxing onto the same transmit queue (or using both SR queues if necessary/if it is easier). They are ultimately just packets to the LAN interface. How software decides what packet to transmit when is a higher level problem.

ekm

From: Keyur [mailto:[email protected]]
Sent: Thursday, May 14, 2015 4:03 PM
To: AVnu/Open-AVB
Subject: [Open-AVB] Need to implement multiple stream audio and video (#215)

Hi,

did any body try to send multiple stream from single talker? I need help to implement multiple audio stream to send from one talker to multiple listener.


Reply to this email directly or view it on GitHubhttps://github.com//issues/215.

@keyurparekh1
Copy link
Author

Hi,

I mean to send multiple streams from one talker. And I have multiple listener. So I want all listener should play different streams.

@baynaa7
Copy link

baynaa7 commented Aug 5, 2015

Hello , I also want to send more than one stream (for example two stream) from two talker to one listener.

As I knew simple_listener now only supports one stream.

  1. How to implement it in simple_listener ?
  2. Is there any information or document to implement it ?

@jdkoftinoff
Copy link
Contributor

Please clarify.

Do you mean two talkers with two stream sources each going to one listener receiving four streams?

Jeff

On Aug 5, 2015, at 08:58, pcub [email protected] wrote:

Hello , I also want to send more than one stream (for example two stream) from two talker to one listener.

As I knew simple_listener now only supports one stream.

How to implement it in simple_listener ?


Reply to this email directly or view it on GitHub #215 (comment).

@xcalger
Copy link

xcalger commented Aug 5, 2015

I just read through this thread. Thank you Jeff for answering this question. I agree with you in your settings for producing what I think pcub is trying to accomplish.

One stream of 4 channels from a talker on each XMOS DC going to a PC running simple_listener (I'm not familiar with that utility, so not sure what it is capable of).

-Chris
XMOS

From: Jeff Koftinoff <[email protected]mailto:[email protected]>
Reply-To: AVnu/Open-AVB <[email protected]mailto:[email protected]>
Date: Wednesday, August 5, 2015 at 11:02 AM
To: AVnu/Open-AVB <[email protected]mailto:[email protected]>
Subject: Re: [Open-AVB] Need to implement multiple stream audio and video (#215)

Please clarify.

Do you mean two talkers with two stream sources each going to one listener receiving four streams?

Jeff

On Aug 5, 2015, at 08:58, pcub <[email protected]mailto:[email protected]> wrote:

Hello , I also want to send more than one stream (for example two stream) from two talker to one listener.

As I knew simple_listener now only supports one stream.

How to implement it in simple_listener ?


Reply to this email directly or view it on GitHub #215 (comment).


Reply to this email directly or view it on GitHubhttps://github.com//issues/215#issuecomment-128050747.

@baynaa7
Copy link

baynaa7 commented Aug 6, 2015

xcalger's right. yesterday I posted in #244.
Is there anyone who is familiar with simple_listener hacking?

@baynaa7
Copy link

baynaa7 commented Aug 10, 2015

@xcalger
Can you give some information about xmos side configuration.
I posted here: xcore/sc_ethernet#60

I want to know whether there is problem or not in xmos daisy chain board configuration.

Here is the xmos guy demonstrating daisy chain: https://www.youtube.com/watch?v=DrG4oDxl78Q
As I saw from this demo two DC and audio slice's output audio channels are connected to speakers and acting as listener. Is it right?
If it is right, then there is no demo that shows all stream are transmitted via ethernet slice kit. is not it?

Thank you.

@pinealservo
Copy link
Contributor

@pcub This isn't where you go to get answers about XMOS daisy chain board configuration. Please don't hijack other people's issues with unrelated questions.

@keyurparekh1 Having a talker send multiple streams is essentially the same as having it send one stream, except you do it once per unique Stream ID you wish to send. The only thing special about talker AVB streams as opposed to, for example, http streams, is that they have to be sent at a specific rate and you can't oversubscribe your bandwidth.

Our issue system here isn't meant as a long-term training support dialog system; we need specific questions or problems with the software pointed out that we can give specific answers to. If you make some attempt at writing code to send multiple streams from a talker, or if you have a specific question about how an API should be used, please open a new issue regarding that.

@keyurparekh1
Copy link
Author

Hi Pinealservo,

I am currently modifying talker code to send multiple streams. Once I have stable implementation I will paste code for further clarification in new issue.

Thanks & Regards,
Keyur Parekh

@xcalger
Copy link

xcalger commented Aug 12, 2015

@pcub: Levi made an excellent description of how AVB works in issue #264 . I hope it is clear on the responsibility of each device and part of the firmware stack. Please make sure you have this in mind on what you are trying to do first before asking about configuring each device a certain way. This means what streams and channels are sent where ... this also includes understandingthe media clocking for each stream.

As for XMOS support, I see your request in sc_ethernet. You should enter AVB and specifically firmware questions about the DC in http://github.xcore.com/sw_avb.

If you think there is a bug in firmware you can also open a ticket on xmos.com by logging in and reporting a bug.

For how to set up the DC cards to do what you want using the sw_avb, I would also try the xcore.com Q&A section.

From what I think you are trying to do the XMOS DC kits should be able to each send a stream of 4 channels. It's the pc that has to listen to two different streams and then do something with the audio data in those streams that has the tough task of what to do with two separate audio streams.

-Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants