Sets the RTP Control Protocol (RTCP) state.
object.SetRtcpState Enabled
Parameter Description Enabled Enables the RTCP state of the audio control with a Boolean value. RTCP is enabled by default.
Value Description True Enable the RTCP state. RTCP is enabled by default, so call with this value only if you have already disabled RTCP. False Disable the RTCP state.
This method does not return a value.
RTCP provides feedback to the sender of a multicast. If you know that the sender does not need feedback on the quality of the service you are receiving, you can turn off the RTCP to reduce the bandwidth of the multicast. The change in state goes into effect the next time Play is called.
Example
The following code example shows how to use SetRtcpState method to turn off RTCP. The audio control object is called rtpaudio. When the method is called, the state is disabled. Call this method before you call the Play method. The change in RTCP state takes effect only when Play is called.
call rtpaudio.SetRtcpState(False)
Return to the RTP Audio Control Reference.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.