SRtpSessionProtect Method (RtpPacket) |
Protects an RTP packet.
Namespace: StreamCoders.RtpAssembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public virtual SRtpStatusCode Protect(
ref RtpPacket inputRaw
)
Public Overridable Function Protect (
ByRef inputRaw As RtpPacket
) As SRtpStatusCode
public:
virtual SRtpStatusCode Protect(
RtpPacket^% inputRaw
)
abstract Protect :
inputRaw : RtpPacket byref -> SRtpStatusCode
override Protect :
inputRaw : RtpPacket byref -> SRtpStatusCode
Parameters
- inputRaw
- Type: StreamCoders.RtpRtpPacket
[in,out] [in,out] Must contain a valid RTP packet. If the protection process is successful, the output will be a newly created RTP packet.
Return Value
Type:
SRtpStatusCode
Returns
StatusOk on success.
Implements
ISRtpSessionProtect(RtpPacket)See Also