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

dmmmmm
Posts: 1
Joined: Wed Mar 06, 2019 12:01 pm

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

Postby dmmmmm » Wed Mar 06, 2019 12:14 pm

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

theronic
Posts: 3
Joined: Tue Mar 05, 2019 10:31 pm

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

Postby theronic » Mon Mar 11, 2019 1:32 pm

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.

Who is online

Users browsing this forum: No registered users and 27 guests