PlayoutBufferCalculatePresentationTime Method |
Calculates the presentation time.
Namespace: StreamCoders.RtpAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public DateTime CalculatePresentationTime(
RtpFrame frame
)
Public Function CalculatePresentationTime (
frame As RtpFrame
) As DateTime
public:
DateTime CalculatePresentationTime(
RtpFrame^ frame
)
member CalculatePresentationTime :
frame : RtpFrame -> DateTime
Parameters
- frame
- Type: StreamCoders.RtpRtpFrame
The frame used for calculating the relative presentation time.
Return Value
Type:
DateTime
The calculated presentation time relative to
TimeSpan.Zero.
See Also