sourceforge807
Member
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:
the first 12 bytes is for the rtp header. after that comes the data.
after ethernet.begin() the data seem´s like:
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
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...
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