Edit

Share via


AVAssetWriter.StartSessionAtSourceTime(CMTime) Method

Definition

Sets the initial playback time.

[Foundation.Export("startSessionAtSourceTime:")]
public virtual void StartSessionAtSourceTime (CoreMedia.CMTime startTime);
abstract member StartSessionAtSourceTime : CoreMedia.CMTime -> unit
override this.StartSessionAtSourceTime : CoreMedia.CMTime -> unit

Parameters

startTime
CMTime

Often, application developers will set this to Zero.

Attributes

Remarks

Samples whose timestamps end prior to startTime will be stored, but not played. If the first sample's timestamp is later than startTime, an empty edit will be inserted to pad the playback.

Applies to