Home
last modified time | relevance | path

Searched refs:rtpPort (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h401 unsigned rtpPort; in onMessageReceived() local
402 ARTPConnection::MakePortPair(&mRTPSocket, &mRTCPSocket, &rtpPort); in onMessageReceived()
414 request.append(rtpPort); in onMessageReceived()
416 request.append(rtpPort + 1); in onMessageReceived()
496 unsigned rtpPort, rtcpPort; in onMessageReceived() local
497 CHECK_EQ(sscanf(value.c_str(), "%u-%u", &rtpPort, &rtcpPort), 2); in onMessageReceived()
504 mRemoteAddr.sin_port = htons(rtpPort); in onMessageReceived()
507 mRemoteRTCPAddr.sin_port = htons(rtpPort + 1); in onMessageReceived()
527 << rtpPort; in onMessageReceived()
DMyHandler.h358 int rtpPort, rtcpPort; in pokeAHole() local
359 if (sscanf(server_port.c_str(), "%d-%d", &rtpPort, &rtcpPort) != 2 in pokeAHole()
360 || rtpPort <= 0 || rtpPort > 65535 in pokeAHole()
362 || rtcpPort != rtpPort + 1) { in pokeAHole()
370 if (rtpPort & 1) { in pokeAHole()
391 addr.sin_port = htons(rtpPort); in pokeAHole()
1656 unsigned rtpPort; in setupTrack() local
1658 &info->mRTPSocket, &info->mRTCPSocket, &rtpPort); in setupTrack()
1670 request.append(rtpPort); in setupTrack()
1672 request.append(rtpPort + 1); in setupTrack()
DARTPConnection.h51 int *rtpSocket, int *rtcpSocket, unsigned *rtpPort);
DARTPConnection.cpp109 int *rtpSocket, int *rtcpSocket, unsigned *rtpPort) { in MakePortPair() argument
140 *rtpPort = port; in MakePortPair()