Page 1 of 1

Could "record-raw-http" send file to different ip?

Posted: Wed Mar 06, 2019 12:14 pm
by dmmmmm
audio_element_set_uri(http_stream_writer, "http://192.168.43.167:8000/upload");
When my esp32 device is not connected to the IP of the server at the same time, can not transfer data to my server, how do I solve this problem?
I'd appreciate it if someone could give me some advice :P

Re: Could "record-raw-http" send file to different ip?

Posted: Mon Mar 11, 2019 1:32 pm
by theronic
If you run `make menuconfig`, you can configure the upload URI somewhere under components. Alternatively, manually edit sdkconfig and look for the URI you want to replace (it has /upload in it), and recompile.