AVAssetWriter.EndSessionAtSourceTime(CMTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stops writing samples at the specified time.
[Foundation.Export("endSessionAtSourceTime:")]
public virtual void EndSessionAtSourceTime (CoreMedia.CMTime endTime);
abstract member EndSessionAtSourceTime : CoreMedia.CMTime -> unit
override this.EndSessionAtSourceTime : CoreMedia.CMTime -> unit
Parameters
- endTime
- CMTime
- Attributes
Remarks
This method allows the application developer to end the writing session before the end of the last sample.
Application developers do not need to call this method if they are satisfied by the behavior of FinishWritingAsync(), which sets the session's end time to the ending timestamp of the final sample.