|
MeiCam SDK For iOS
3.15.0
|
#import <NvsStreamingContext.h>
Instance Methods | |
| (void) | - didCaptureDeviceCapsReady: |
| The captured device is ready. More... | |
| (void) | - didCaptureDevicePreviewResolutionReady: |
| Captured device resolution is ready. More... | |
| (void) | - didCaptureDevicePreviewStarted: |
| Startes the captured device preview. More... | |
| (void) | - didCaptureDeviceError:errorCode: |
| Capture device error. More... | |
| (void) | - didCaptureDeviceStopped: |
| Stopps the captured device. More... | |
| (void) | - didCaptureDeviceAutoFocusComplete:succeeded: |
| The captured device's autofocus is completed. More... | |
| (void) | - didCaptureRecordingStarted: |
| Recording started. More... | |
| (void) | - didCaptureRecordingFirstVideoFrameReached:timeStamp: |
| Recording first video frame is presented.. More... | |
| (void) | - didCaptureRecordingDurationUpdated:duration: |
| Notification of recording's duration. More... | |
| (void) | - didCaptureRecordingFinished: |
| Recording is completed. More... | |
| (void) | - didCaptureRecordingError: |
| Recording fails. More... | |
| (void) | - didPlaybackPreloadingCompletion: |
| Playback preload completed. More... | |
| (void) | - didPlaybackTimelinePosition:position: |
| Current position of timeline playback. More... | |
| (void) | - didPlaybackDelayed:delayTime:isVideo: |
| Timeline playback delay. More... | |
| (void) | - didPlaybackStopped: |
| Playback stopped. More... | |
| (void) | - didPlaybackEOF: |
| Playbacks to the end. More... | |
| (void) | - didCompileProgress:progress: |
| Progress of compiling video file. More... | |
| (void) | - didCompileFloatProgress:progress: |
| Progress of compiling video file. More... | |
| (void) | - didCompileFinished: |
| Compiling video file is completed. More... | |
| (void) | - didCompileCompleted:isCanceled: |
| Compiling video file is completed. More... | |
| (void) | - didCompileCompleted:isHardwareEncoding:errorType:errorString:flags: |
| Timeline compile file completion. More... | |
| (void) | - didCompileFailed: |
| Fails to compile video file. More... | |
| (void) | - didCompileSliceCompleted:filePath:isVideo:index: |
| Timeline compile slice file completion. More... | |
| (void) | - didStreamingEngineStateChanged: |
| Engine state changed. More... | |
| (void) | - didFirstVideoFramePresented: |
| First video frame is presented. More... | |
| (void) | - didTimestampOutOfRange: |
| Timeline out of bounds (Note: Do not use this callback interface if it is not necessary). More... | |
| (void) | - didSeekingTimelinePosition:position: |
| Current position of seeking the timeline. More... | |
| (void) | - captureVideoFrameGrabbedArrived: |
| Gets the captured video frame. More... | |
| (void) | - onAudioSampleArrived: |
| Get audio sample data from capture device.This interface triggers callbacks when recording. More... | |
| (void) | - capturePreviewAudioSampleArrived: |
| Get audio sample data from capture device.This interface can fetch the audio callback while capturing the preview. More... | |
| (void) | - capturePictureArrived: |
| Gets the captured video frame. More... | |
| (void) | - onPlaybackException:exceptionType:exceptionString: |
| Exception in timeline playback. More... | |
| (void) | - onHardwareError:stringInfo: |
| Hardware error information. Deprecated, use onMediaError instead. More... | |
| (void) | - onMediaError: |
| Media error information. More... | |
| (void) | - didVUMeterValue:leftValue:rightValue:timestamp: |
| Get DB value from timeline. More... | |
| (void) | - onAudioSampleArrived:audioSample: |
| Get audio sample data from timeline. More... | |
|
optional |
Gets the captured video frame.
Please pay attention: this function is called in a separate thread, not in the UI thread. Please consider thread-safe issues!!
| sampleBufferInfo | The obtained image data |
|
optional |
Get audio sample data from capture device.This interface can fetch the audio callback while capturing the preview.
| audioSample | Captured audio sample data. |
|
optional |
Gets the captured video frame.
Please pay attention: this function is called in a separate thread, not in the UI thread. Please consider thread-safe issues!!
| sampleBufferInfo | The obtained image data |
|
optional |
The captured device's autofocus is completed.
| captureDeviceIndex | Device index |
| succeeded | Whether the autofocus is completed. |
|
optional |
The captured device is ready.
| captureDeviceIndex | Device index |
|
optional |
Capture device error.
| captureDeviceIndex | Device index |
| errorCode | Error code, please refert to CAPTURE_DEVICE_ERROR_CODE |
|
optional |
Captured device resolution is ready.
| captureDeviceIndex | Device index |
|
optional |
Startes the captured device preview.
| captureDeviceIndex | Device index |
|
optional |
Stopps the captured device.
| captureDeviceIndex | Device index |
|
optional |
Notification of recording's duration.
| captureDeviceIndex | Device index |
| duration | The duration that has been recorded (in microseconds). |
|
optional |
Recording fails.
| captureDeviceIndex | Device index |
|
optional |
Recording is completed.
| captureDeviceIndex | Device index |
|
optional |
Recording first video frame is presented..
| captureDeviceIndex | Device index |
| timeStamp | First video frame timestamp |
|
optional |
Recording started.
| captureDeviceIndex | Device index |
|
optional |
Compiling video file is completed.
| timeline | Timeline |
| isCanceled | The midway cancellation results in the completion of the compile. Note: any operations on the engine that causes compilation to stop are refer to as cancelation. |
|
optional |
Timeline compile file completion.
| timeline | Timeline. |
| isHardwareEncoder | Whether hardware coding is used for completion. |
| errorType | Type of compile error, please refert to COMPILE_ERROR_TYPE |
| stringInfo | Assistance information. |
| flags | flags |
|
optional |
Fails to compile video file.
| timeline | Timeline |
|
optional |
|
optional |
Progress of compiling video file.
| timeline | Timeline |
| progress | float Progress |
|
optional |
Progress of compiling video file.
| timeline | Timeline |
| progress | Progress |
|
optional |
Timeline compile slice file completion.
| timeline | Timeline. |
| filePath | Media file path |
| isVideo | Whether is video or audio |
| index | Media index |
|
optional |
First video frame is presented.
| timeline | Timeline |
|
optional |
Timeline playback delay.
| timeline | Timeline |
| time | Delay time |
| flag | Whether it's video (true is video, false is audio). |
|
optional |
Playbacks to the end.
| timeline | Timeline |
|
optional |
Playback preload completed.
| timeline | Timeline |
|
optional |
Playback stopped.
| timeline | Timeline |
|
optional |
Current position of timeline playback.
| timeline | Timeline |
| position | Current position |
|
optional |
Current position of seeking the timeline.
| timeline | Timeline |
| position | Current position |
|
optional |
Engine state changed.
| state | Engine state |
|
optional |
Timeline out of bounds (Note: Do not use this callback interface if it is not necessary).
| timeline | Timeline |
|
optional |
Get DB value from timeline.
| timeline | Timeline. |
| leftVUValue | Audio output left channel DB value. |
| rightVUValue | Audio output right channel DB value. |
|
optional |
Get audio sample data from capture device.This interface triggers callbacks when recording.
| audioSample | Captured audio sample data. |
|
optional |
Get audio sample data from timeline.
| timeline | Timeline. |
| audioSample | Audio output sample data. |
|
optional |
Hardware error information. Deprecated, use onMediaError instead.
| errorType | Type of hardware error, please refert to NvsStreamingEngineHarwareErrorType |
| stringInfo | Assistance information. |
|
optional |
Media error information.
| error | error info |
| stringInfo | Assistance information. |
|
optional |
Exception in timeline playback.
| timeline | Timeline. |
| exceptionType | Exception type,please refert to STREAMING_ENGINE_PLAYBACK_EXCEPTION_TYPE |
| exceptionString | Exception information |
1.8.18