RTP/RTSP support

ariel.dalessandro
Posts: 4
Joined: Thu Nov 22, 2018 4:02 pm

RTP/RTSP support

Postby ariel.dalessandro » Thu Nov 22, 2018 5:14 pm

Hi,

I'm trying to get RTP/RTSP protocol support on a ESP32.
My goal is to have video/audio streaming from the ESP chip to a browser.

Questions:
* Is there any RTP implementation ported to ESP32?
* Any port as an ESP-IDF component?
* Plans on having an ESP-IDF component providing RTP support in the near future?

Thanks,
Ariel

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: RTP/RTSP support

Postby mzimmers » Tue Oct 22, 2019 8:56 pm

Bumping this because I'm interested too. And I can see that building it myself is more effort than I realized.

dave_see
Posts: 11
Joined: Wed Jan 08, 2020 6:02 pm

Re: RTP/RTSP support

Postby dave_see » Wed Jan 08, 2020 6:10 pm

Bumping this thread for exactly the same reasons as mzimmers. I'm looking at JRTPLIB (C++) and PJSIP.

I'm just looking to stream audio; I might be able to write a DIY solution for one stream format, but full RTP support is not trivial.

dave_see
Posts: 11
Joined: Wed Jan 08, 2020 6:02 pm

Re: RTP/RTSP support

Postby dave_see » Mon Jan 13, 2020 3:51 am

I've been looking at oRTP as a potential candidate. Currently, I'm just doing the simple thing and hardcoding some RTP parameters and filling out the rest of my project currently.

oRTP is mirrored on github: https://github.com/BelledonneCommunications/ortp
oRTP seems to have the significant dependencies of
  • pthreads and
  • bctoolbox which depends on
  • mbedtls
bctoolbox is mirrored on github: https://github.com/BelledonneCommunications/bctoolbox

So, it seems that the major portability is already covered by ESP-IDF with pthreads and mbedtls. oRTP and bctoolbox are both CMake projects. Given that the ESP32 build system is based on CMake, it seems there's a possibility to integrate these libraries, though I'm uncertain how simple it would be. I'm aware of CMake, but don't have significant experience using it. I'd like to do this work and release it, but if anyone with CMake experience would like to take this on, I'd certainly be grateful.

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: RTP/RTSP support

Postby mzimmers » Tue May 19, 2020 10:24 pm

Bump.

Anyone aware of any movement in this area? The ESP32-CAM makes this even more interesting to us (and I'm sure to a lot of people).

pkme23
Posts: 3
Joined: Wed Jan 18, 2023 1:00 am

Re: RTP/RTSP support

Postby pkme23 » Wed Jan 18, 2023 1:02 am

Any pointers from anyone on getting voip on esp?

Who is online

Users browsing this forum: No registered users and 302 guests