Skip to content
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

fixes bind problem and fixes CMakeLists compilation #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lattice0
Copy link
Contributor

@lattice0 lattice0 commented Aug 1, 2019

Hi!

On Android Studio with Android NDK 20, there's no gcc anymore, so it uses clang. On clang, file rtpudpv4transmitter.cpp gives error in the bind function because it thinks it should use std::bind (because of using namespace std above). So doing ::bind solves the problem.

I also enhanced CMakeLists integration, because Android NDK requires it.

ps: the newer JTRPLIB does not use using namespace std in rtpudpv4transmitter.cpp. Do you have plans to update to the newest JRTPLIB? It should be nice to have a more modern approach. I tried to update for you but it breaks the myRtpSession class because some of the properties used by it were made private in the newer version of JRTPLIB.

About the other issue I opened here, about the regex error in my Vstarcam camera, I'm gonna see what's happening, thanks for testing yourself!

@Ansersion
Copy link
Owner

Thank for your advice, I'll try the new jrtplib soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants