Home
last modified time | relevance | path

Searched refs:localIp (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DARTPConnection.h53 void setIsIPv6(const char *localIp);
65 const char *localIp, const char *remoteIp,
DARTPWriter.h42 explicit ARTPWriter(int fd, String8& localIp, int localPort,
161 void makeSocketPairAndBind(String8& localIp, int localPort, String8& remoteIp, int remotePort);
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp187 int *rtpSocket, int *rtcpSocket, const char *localIp, const char *remoteIp, in MakeRTPSocketPair() argument
190 if (strchr(localIp, ':') != NULL) in MakeRTPSocketPair()
245 inet_pton(AF_INET6, localIp, &addr6.sin6_addr); in MakeRTPSocketPair()
251 addr4.sin_addr.s_addr = inet_addr(localIp); in MakeRTPSocketPair()
262 ALOGI("rtp socket successfully binded. addr=%s:%d", localIp, localPort); in MakeRTPSocketPair()
264 ALOGE("failed to bind rtp socket addr=%s:%d err=%s", localIp, localPort, strerror(errno)); in MakeRTPSocketPair()
274 ALOGI("rtcp socket successfully binded. addr=%s:%d", localIp, localPort + 1); in MakeRTPSocketPair()
276 ALOGE("failed to bind rtcp socket addr=%s:%d err=%s", localIp, in MakeRTPSocketPair()
1302 void ARTPConnection::setIsIPv6(const char *localIp) { in setIsIPv6() argument
1303 mIsIPv6 = (strchr(localIp, ':') != nullptr); in setIsIPv6()
DARTPWriter.cpp127 ARTPWriter::ARTPWriter(int fd, String8& localIp, int localPort, String8& remoteIp, in ARTPWriter() argument
142 makeSocketPairAndBind(localIp, localPort, remoteIp , remotePort); in ARTPWriter()
1624 void ARTPWriter::makeSocketPairAndBind(String8& localIp, int localPort, in makeSocketPairAndBind() argument
1629 memcpy(kCNAME + nameLength, localIp.c_str(), localIp.length() + 1); in makeSocketPairAndBind()
1631 if (localIp.contains(":")) in makeSocketPairAndBind()
1651 inet_pton(AF_INET6, localIp.c_str(), &mLocalAddr6.sin6_addr); in makeSocketPairAndBind()
1666 mLocalAddr.sin_addr.s_addr = inet_addr(localIp.c_str()); in makeSocketPairAndBind()
1683 ALOGE("failed to bind rtp %s:%d err=%s", localIp.c_str(), localPort, strerror(errno)); in makeSocketPairAndBind()
1685 ALOGD("succeed to bind rtp %s:%d", localIp.c_str(), localPort); in makeSocketPairAndBind()
1694 ALOGE("failed to bind rtcp %s:%d err=%s", localIp.c_str(), localPort + 1, strerror(errno)); in makeSocketPairAndBind()
[all …]
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtp_writer_fuzzer.cpp118 String8 localIp = String8(mFdp.ConsumeRandomLengthString(kMaxBytes).c_str()); in createARTPWriter() local
121 mDataSourceFd, localIp, mFdp.ConsumeIntegral<uint16_t>() /* localPort */, remoteIp, in createARTPWriter()
DREADME.md37 2. Local Ip (parameter name: "localIp")
48 |`localIp`| `String` |Value obtained from FuzzedDataProvider|
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h241 status_t setParamRtpLocalIp(const String8 &localIp);
DStagefrightRecorder.cpp828 status_t StagefrightRecorder::setParamRtpLocalIp(const String8 &localIp) { in setParamRtpLocalIp() argument
829 ALOGV("setParamVideoLocalIp: %s", localIp.c_str()); in setParamRtpLocalIp()
831 mLocalIp = localIp.c_str(); in setParamRtpLocalIp()