SRtpSession Class |
Namespace: StreamCoders.Rtp
The SRtpSession type exposes the following members.
Name | Description | |
---|---|---|
SRtpSession | Initializes a new instance of the SRtpSession class |
Name | Description | |
---|---|---|
AddStream |
Adds a stream to the session.
| |
Dispose | Releases all resources used by the SRtpSession | |
Protect(RtcpCompoundPacket) |
Protects an RTCP compound packet.
| |
Protect(RtpPacket) |
Protects an RTP packet.
| |
Protect(OffsetBufferByte, Boolean) | ||
RemoveStream |
Removes the stream described by streamConfiguration.
| |
UnProtect(RtcpCompoundPacket) |
Un-Protects an RTCP compound packet.
| |
UnProtect(RtpPacket) |
Un-Protects an RTP packet.
| |
UnProtect(OffsetBufferByte, Boolean) |
Name | Description | |
---|---|---|
Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) | |
Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |
An SRTP session can contain multiple streams with indiviual crypto suites and key exchange methods.
Each stream is considered an RTP/RTCP pair, with their own key definition. The sender always defines the methods of encryption. The signaling is usually SDP (SDES).
Please see the SRtpSample on how to use this class.