Problem with sending audio data over ethernet

Status
Not open for further replies.
hey guys

i made a projekt that samples audiodata and send it over ethernet using the rtp protokol. i used the teensy 3.6, the adaptor board and the wiz820io module. the incoming data from the audio adaptor board seem´s to be fine. packing the data into a simple rtp frame works. but when i initialize the ethernet library the data from the audio objekt may be corrupt. changing the position of ethernet.begin() may no effect.
bevore i initzialize the ethernet with ethernet.begin() the rtp data seems like this:
Code:
10000000.1010.10011101.11000010.1011001.1110000.11111110.1000111.11100101.100.11010111.110000.1001011.0.1000101.0.111111.0.1000110.0.1001110.0.1010100.0.1000011.0.1001000...
10000000.1010.10011101.11000011.1011001.1110000.11111111.1000111.11100101.100.11010111.110000.11011101.11111111.11100010.11111111.11110010.11111111.11011111.11111111...
10000000.1010.10011101.11000100.1011001.1110001.0.1000111.11100101.100.11010111.110000.10111111.11111111.11001000.11111111.11001101.11111111.11000100.11111111.11001000.11111111...
the first 12 bytes is for the rtp header. after that comes the data.

after ethernet.begin() the data seem´s like:
Code:
10000000.1010.10011101.11000010.1011001.1110000.11111110.1000111.11100101.100.11010111.110000.11111111.11111110.11111111.11111110.11111111.11111110.11111111.11111110...
10000000.1010.10011101.11000011.1011001.1110000.11111111.1000111.11100101.100.11010111.110000.11111111.11111110.11111111.11111110.11111111.11111110.11111111.11111110...
10000000.1010.10011101.11000100.1011001.1110001.0.1000111.11100101.100.11010111.110000.11111111.11111110.11111111.11111110.11111111.11111110.11111111.11111110...

i look a fews days in the ethernet library and my code but i can´t find out what happends. i think that somewhere in the ethernet library overwrite the audio data from the audio library. my code you can found on https://github.com/sourceforge807/RTP-Audio
i used the audio and ethernet library which was included in the arduino software. i hope that were all informations you need.

regards
daniel
 
Hi Daniel,

Sorry, I can't offer much insight here at the moment - have you made any headway? I think that I might be experiencing something related:
https://forum.pjrc.com/threads/46353-Audio-and-Ethernet

I'm trying to play audio on the audio shield once Ethernet is initialised and am just getting corrupted sound. I wondered whether using a 3.6 might sole the issue but note that that's what you're using and it hasn't helped.

Bests
David
 
Status
Not open for further replies.
Back
Top