[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "rtcp" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Jul 11 18:16:59 CDT 2011
branch "rtcp" has been updated
via 1e08eda3915aef7df4d167b1857f988de0d0a8ce (commit)
from a8ef03a3ee8b6109850ae13bef4990041d3a0c69 (commit)
Summary of changes:
slice/AsteriskSCF/Media/RTP/MediaRTCPIf.ice | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 1e08eda3915aef7df4d167b1857f988de0d0a8ce
Author: Joshua Colp <jcolp at digium.com>
Date: Mon Jul 11 20:17:26 2011 -0300
RFC3605 allows the RTCP port *and* address to be specified so change the slice slightly to allow it.
diff --git a/slice/AsteriskSCF/Media/RTP/MediaRTCPIf.ice b/slice/AsteriskSCF/Media/RTP/MediaRTCPIf.ice
index 59f127d..5923ddf 100644
--- a/slice/AsteriskSCF/Media/RTP/MediaRTCPIf.ice
+++ b/slice/AsteriskSCF/Media/RTP/MediaRTCPIf.ice
@@ -123,13 +123,17 @@ module V1
idempotent int getLocalPort();
/**
- * Method used to set the port that RTCP should be sent to
+ * Method which changes the IP address and port that RTCP will be sent to.
*
- * Calling this will reset any statistics already present
+ * Note that this must be called before RTCP will be sent.
*
- * @param port The remote port to send RTCP to
+ * @param address A string representation of the address.
+ *
+ * @param port An integer containing the port.
+ *
+ * @throws InvalidAddress when the address passed in is invalid.
*/
- void setRemotePort(int port);
+ void setRemoteDetails(string address, int port) throws AsteriskSCF::Media::RTP::V1::InvalidAddress;
};
/**
-----------------------------------------------------------------------
--
asterisk-scf/integration/slice.git
More information about the asterisk-scf-commits
mailing list