Searched refs:mRTCPSocket (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libstagefright/rtsp/ |
D | MyTransmitter.h | 85 mRTCPSocket(-1), in MyTransmitter() 402 ARTPConnection::MakePortPair(&mRTPSocket, &mRTCPSocket, &rtpPort); in onMessageReceived() 430 FD_SET(mRTCPSocket, &rs); in onMessageReceived() 436 int res = select(mRTCPSocket + 1, &rs, NULL, NULL, &tv); in onMessageReceived() 440 ssize_t n = recv(mRTCPSocket, buffer->data(), buffer->size(), 0); in onMessageReceived() 513 CHECK_EQ(0, connect(mRTCPSocket, in onMessageReceived() 728 mRTCPSocket, data, buffer->size(), 0); in onMessageReceived() 806 if (mRTCPSocket >= 0) { in onMessageReceived() 807 close(mRTCPSocket); in onMessageReceived() 808 mRTCPSocket = -1; in onMessageReceived() [all …]
|
D | MyHandler.h | 743 if (track->mRTPSocket != -1 && track->mRTCPSocket != -1) { in onMessageReceived() 751 track->mRTCPSocket, in onMessageReceived() 756 track->mRTPSocket, track->mRTCPSocket, in onMessageReceived() 774 NetworkUtils::UnRegisterSocketUserTag(track->mRTCPSocket); in onMessageReceived() 775 NetworkUtils::UnRegisterSocketUserMark(track->mRTCPSocket); in onMessageReceived() 779 close(track->mRTCPSocket); in onMessageReceived() 897 mRTPConn->removeStream(info->mRTPSocket, info->mRTCPSocket); in onMessageReceived() 903 NetworkUtils::UnRegisterSocketUserTag(info->mRTCPSocket); in onMessageReceived() 904 NetworkUtils::UnRegisterSocketUserMark(info->mRTCPSocket); in onMessageReceived() 908 close(info->mRTCPSocket); in onMessageReceived() [all …]
|
D | ARTPConnection.cpp | 58 int mRTCPSocket; member 335 info->mRTCPSocket = s; in onAddStream() 390 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) { in onRemoveStream() 434 FD_SET(it->mRTCPSocket, &rs); in onPollStreams() 439 if (it->mRTCPSocket > maxSocket) { in onPollStreams() 440 maxSocket = it->mRTCPSocket; in onPollStreams() 464 if (err == OK && FD_ISSET(it->mRTCPSocket, &rs)) { in onPollStreams() 614 receiveRTP ? s->mRTPSocket : s->mRTCPSocket, in receive() 664 info->mRTCPSocket, buffer->data(), buffer->size(), 0, in send() 1214 && it->mRTPSocket != index && it->mRTCPSocket != index) { in onInjectPacket()
|
D | ARTPWriter.cpp | 91 mRTCPSocket = socket(AF_INET, SOCK_DGRAM, 0); in ARTPWriter() 92 CHECK_GE(mRTCPSocket, 0); in ARTPWriter() 191 close(mRTCPSocket); in ~ARTPWriter() 192 mRTCPSocket = -1; in ~ARTPWriter() 626 ssize_t n = sendto(isRTCP ? mRTCPSocket : mRTPSocket, in send() 1450 setsockopt(mRTCPSocket, IPPROTO_IP, IP_TOS, in updateSocketDscp() 1466 result = android_setsocknetwork(mRTPSockNetwork, mRTCPSocket); in updateSocketNetwork() 1469 result, mRTCPSocket, (unsigned long long)mRTPSockNetwork); in updateSocketNetwork() 1601 mRTCPSocket = socket(mIsIPv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, 0); in makeSocketPairAndBind() 1602 CHECK_GE(mRTCPSocket, 0); in makeSocketPairAndBind() [all …]
|
D | ARTPSession.h | 50 int mRTCPSocket; member
|
D | ARTPSession.cpp | 83 info->mRTCPSocket = rtcpSocket; in setup() 122 close(info->mRTCPSocket); in ~ARTPSession()
|
D | ARTPWriter.h | 93 int mRTPSocket, mRTCPSocket; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTPSource.h | 138 int mRTCPSocket; member
|
D | RTPSource.cpp | 139 info->mRTCPSocket = sockRtcp; in prepareAsync() 481 mRTPConn->removeStream(info->mRTPSocket, info->mRTCPSocket); in onMessageReceived() 483 close(info->mRTCPSocket); in onMessageReceived()
|