-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can this program run on Esp-IDF environment? #35
Comments
you can use esp idf api in arduino core. |
I just created an esp-idf example. It can be found here: https://github.com/brainrecall/Micro-RTSP/tree/master/examples/esp-idf |
@brainrecall wow cool! I'll take a look into it. Btw this original Micro-RTSP is written in C++ right? The ESP-IDF is in C and if i remember correctly, if you want to use C++ code in ESP-IDF, you would need to change main.c to main.cpp and write extern "C" for app_main() for it to build. This what I had to do back when I used the Arduino code (C++) in the ESP-IDF environment. Great job! Can you tell me how you managed to do it? |
Thanks! I started with the example from I should note, though, the example I wrote will only work with my branch. I should give credit to @kadavris who rewrote the RTSP command sequence handling that greatly improves the connection handshake. I made several other changes to his work to improve buffer handling and actually removing the multiple-client support as that was broken (couldn't handle multiple UDP clients, for one). However, running multiple tasks like I do in the esp-idf example allows multiple clients to work easily. |
I downloaded your file(Micro RTSP) on GitHub recently.And I had some problems during using it.
Here is the problems:
1.Your program is base on Arduino IDE. Can this program run on Esp-IDF environment?
2.Will you write a ESP IDF version in the future?
I sent a email to you,too.
Thank you.
The text was updated successfully, but these errors were encountered: