tencent cloud

User Generated Short Video SDK

動態と公告
Release Notes
The “startPlay” API of the UGSV SDK Renamed
製品紹介
Overview
Features
Use Cases
Concepts
購入ガイド
Pricing Overview
Refund Policy
License ガイド
Adding and Renewing a License
Configuring and Viewing a License
SDKのダウンロード
SDK Download
Release Notes (App)
UI 統合ソリューションを含む
UGSV Demo App
Source Code Description (iOS)
Source Code Description (Android)
UI 統合ソリューションを含まない
SDK Integration
Capturing and Shoot
Preview, Clipping, and Splicing
Upload and Playback
Tencent Effect SDK
Advanced Features and Special Effects
API ドキュメント
Editing
Shooting
テクニカルサポート
Error Codes
Feature FAQs
よくある質問
Upload
Android Compilation
Android
iOS
License
UGSV ポリシー
プライバシーポリシー
データ処理とセキュリティ契約

iOS

PDF
フォーカスモード
フォントサイズ
最終更新日: 2024-12-23 14:53:57
How the shooting drafts feature works

Starting a shooting

1. Start shooting a video.
2. Pause/End the shooting.
3. Cache the video segment locally (draft box).

Resuming the shooting

1. Preload the locally cached video segment.
2. Continue with the shooting.
3. End the shooting.
//Get the object of the previous shooting
record = [TXUGCRecord shareInstance];

//Start shooting a video.
[record startRecord];

//Pause the shooting and cache the video segment
[record pauseRecord:^{
NSArray *videoPathList = record.partsManager.getVideoPathList;
//Set `videoPathList` to a local path.
}];

//Get the object of the resumed shooting.
record2 = [TXUGCRecord shareInstance];

//Preload the locally cached video segment.
[record2.partsManager insertPart:videoPath atIndex:0];

//Start the shooting
[record2 startRecord];

//End the shooting. The SDK will splice together the two video segments.
[record2 stopRecord];
Note:
For detailed instructions, see the UGCKitRecordViewController class in (Demo) Source Code for All-Feature UGSV Apps.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック