Click or drag to resize
ISRtpSessionProtect Method (OffsetBufferByte, Boolean)
Protects the given packet.

Namespace: StreamCoders.Rtp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
SRtpStatusCode Protect(
	ref OffsetBuffer<byte> packet,
	bool isRtcp
)

Parameters

packet
Type: StreamCodersOffsetBufferByte
[in,out] Packet to transform.
isRtcp
Type: SystemBoolean
True if input is RTCP, otherwise RTP.

Return Value

Type: SRtpStatusCode
A SRtpStatusCode.
See Also