Skip to content

fixes bind problem and fixes CMakeLists compilation#26

Open
lattice0 wants to merge 1 commit into
Ansersion:masterfrom
lattice0:master
Open

fixes bind problem and fixes CMakeLists compilation#26
lattice0 wants to merge 1 commit into
Ansersion:masterfrom
lattice0:master

Conversation

@lattice0

@lattice0 lattice0 commented Aug 1, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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