IPv6 support for ESP32-RTSP library.
Posted: Fri Jan 30, 2026 2:12 am
Hello,
I am trying to perform video transmission using IPv6 by ESP32-RTSP library.
However, it doesn't work.
The server address is specified in the config above. IPv6 is also enabled and set.
Here is the rtsp config:
esp_rtsp_config_t rtsp_config = {
.uri = uri,
.mode = mode,
.ctx = av_stream,
.data_cb = &data_cb,
.audio_enable = true,
.video_enable = true,
.acodec = RTSP_ACODEC_G711A,
.video_info = &vcodec_info,
.local_addr = “[2400:xxxx:xxxx:xxxx:83b1:6efe:fe37:91e1]”,
.stack_size = RTSP_STACK_SZIE,
.task_prio = RTSP_TASK_PRIO,
.state = _esp_rtsp_state_handler,
.trans = RTSP_TRANSPORT_TCP,
};
The github link below is also checked, but nothing about IPv6 is mentioned and related.
https://github.com/espressif/esp-adf-li ... ia_lib_sal
So does the RTSP-related library support IPv6?
If not, any way i can work around to support IPv6??
Thanks.
I am trying to perform video transmission using IPv6 by ESP32-RTSP library.
However, it doesn't work.
The server address is specified in the config above. IPv6 is also enabled and set.
Here is the rtsp config:
esp_rtsp_config_t rtsp_config = {
.uri = uri,
.mode = mode,
.ctx = av_stream,
.data_cb = &data_cb,
.audio_enable = true,
.video_enable = true,
.acodec = RTSP_ACODEC_G711A,
.video_info = &vcodec_info,
.local_addr = “[2400:xxxx:xxxx:xxxx:83b1:6efe:fe37:91e1]”,
.stack_size = RTSP_STACK_SZIE,
.task_prio = RTSP_TASK_PRIO,
.state = _esp_rtsp_state_handler,
.trans = RTSP_TRANSPORT_TCP,
};
The github link below is also checked, but nothing about IPv6 is mentioned and related.
https://github.com/espressif/esp-adf-li ... ia_lib_sal
So does the RTSP-related library support IPv6?
If not, any way i can work around to support IPv6??
Thanks.