I2S stream to specific IP Address, not webserver #872
-
Hi, I am trying to find a way to stream from an I2S Microphone (INMP441) to a specific IP Address (which is actually an MQTT Server).. Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There are some examples that show how to copy data using pure tcp/ip in the communications examples. |
Beta Was this translation helpful? Give feedback.
There are some examples that show how to copy data using pure tcp/ip in the communications examples.
However if you want to use MQTT you need to use a MQTT library with a MQTTClient. Just learn how to use this outside of my library first. If you managed to understand how this works it should be easy to copy the data. MQTTClient inherits from Stream, so it can be used as copy destination and you could use StreamCopy to copy the data, but you don't have to....