mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Adding documentation for assetURL in ASVideoNode, and adding a mutex lock for assetURL setter (#1961)
* Adding comment in ASVideoNode.h for the assetURL property * Adding a mutexlock in setAssetURL in ASVideoNode
This commit is contained in:
@@ -41,6 +41,11 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
- (BOOL)isPlaying;
|
||||
|
||||
@property (nullable, nonatomic, strong, readwrite) AVAsset *asset;
|
||||
/**
|
||||
** @abstract The URL with which the asset was initialized.
|
||||
** @discussion Setting the URL will overwrite the current asset with a newly created AVURLAsset created from the given URL, and AVAsset *asset will point to that newly created AVURLAsset. Please don't set both assetURL and asset.
|
||||
** @return Current URL the asset was initialized or nil if no URL was given.
|
||||
**/
|
||||
@property (nullable, nonatomic, strong, readwrite) NSURL *assetURL;
|
||||
@property (nullable, nonatomic, strong, readwrite) AVVideoComposition *videoComposition;
|
||||
@property (nullable, nonatomic, strong, readwrite) AVAudioMix *audioMix;
|
||||
|
||||
Reference in New Issue
Block a user