IOS short video recording, authorized error, real machine test flashover.

problem description

error message: [W] Pili-ShortVideo-Authorization PLShortVideo SDK authorization status error: auth failed!
this problem occasionally occurs in the real machine test after it is integrated into Qiniu Cloud. Sometimes it is clear that the cache is deleted and the application can be rerun.

the environmental background of the problems and what methods you have tried

when you click the record video button, the method of jumping from [self.shortVideoRecorder startRecording]; to shortVideoRecorder:didStartRecordingToOutputFileAtURL: often reports this error, causing the application to flash.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
/ / record video
-(void) recordTapEvent: (UIGestureRecognizer *) sender {

DLOG(@"");
if (self.shortVideoRecorder.isRecording) {
    [self.shortVideoRecorder stopRecording];
} else {
    if (self.useSDKInternalPath) {
        // 1
        //  SDK 
        [self.shortVideoRecorder startRecording];
    } else {
        // 2
        // fileURL 
        [self.shortVideoRecorder startRecording:[self getFileURL]];
    }
}

}

< H1 > pragma mark-- callback for PLShortVideoRecorderDelegate video recording < / H1 >

/ / when you start recording a video

  • (void) shortVideoRecorder: (PLShortVideoRecorder ) recorder didStartRecordingToOutputFileAtURL: (NSURL ) fileURL {
    NSLog (@ "start recording fileURL:% @", fileURL);

    [self.progressBar addProgressView];
    [_ progressBar startShining];

    )

}

what result do you expect? What is the error message actually seen?

Apr.23,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50291-43b6a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50291-43b6a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?