Release Notes
The “startPlay” API of the UGSV SDK Renamed
// Get the first video shooting objectmTXCameraRecord = TXUGCRecord.getInstance(this.getApplicationContext());// Start shootingmTXCameraRecord.startRecord();// Pause shootingmTXCameraRecord.pauseRecord();// Get the cached video segment and write it locallyList<String> pathList = mTXCameraRecord.getPartsManager().getPartsPathList(); // Write `pathList` locally// Open the application again and get the shooting objectmTXCameraRecord2 = TXUGCRecord.getInstance(this.getApplicationContext());// Preload the locally cached segmentmTXCameraRecord2.getPartsManager().insertPart(videoPath, 0);// Start shootingmTXCameraRecord2.startRecord();// End shooting, and the SDK will compose the cached video segment with the currently shot onemTXCameraRecord2.stopRecord();
RecordDraftManager class in the shooting module in the UGSV application demo source code.피드백