diff options
author | Andreas Huber <andih@google.com> | 2013-03-22 09:56:29 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2013-03-25 10:36:33 -0700 |
commit | 6e98aba4d23d00cab236d993d895f57ea76ea0e5 (patch) | |
tree | a166df2eae20c39768fa13c5b803a246275de5b8 /media/libstagefright/wifi-display/rtp/RTPSender.h | |
parent | a97d15e2e2f0b317a345d3a6f02df80b8988b1f6 (diff) | |
download | frameworks_av-6e98aba4d23d00cab236d993d895f57ea76ea0e5.zip frameworks_av-6e98aba4d23d00cab236d993d895f57ea76ea0e5.tar.gz frameworks_av-6e98aba4d23d00cab236d993d895f57ea76ea0e5.tar.bz2 |
Separate the mode of the RTP and RTCP channels.
I now can use a TCP reliable data channel with a UDP back channel.
Change-Id: Ieb0f0970e3a6da4cff250e9547e181c0c961b9fb
Diffstat (limited to 'media/libstagefright/wifi-display/rtp/RTPSender.h')
-rw-r--r-- | media/libstagefright/wifi-display/rtp/RTPSender.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media/libstagefright/wifi-display/rtp/RTPSender.h b/media/libstagefright/wifi-display/rtp/RTPSender.h index 90b1796..8409b8d 100644 --- a/media/libstagefright/wifi-display/rtp/RTPSender.h +++ b/media/libstagefright/wifi-display/rtp/RTPSender.h @@ -43,10 +43,11 @@ struct RTPSender : public RTPBase, public AHandler { const sp<AMessage> ¬ify); status_t initAsync( - TransportMode mode, const char *remoteHost, int32_t remoteRTPPort, + TransportMode rtpMode, int32_t remoteRTCPPort, + TransportMode rtcpMode, int32_t *outLocalRTPPort); status_t queueBuffer( @@ -72,7 +73,8 @@ private: sp<ANetworkSession> mNetSession; sp<AMessage> mNotify; - TransportMode mMode; + TransportMode mRTPMode; + TransportMode mRTCPMode; int32_t mRTPSessionID; int32_t mRTCPSessionID; bool mRTPConnected; |