startEncodedOutput abstract method
Attaches a hardware H.264 encoder (MediaCodec / VideoToolbox) to the
session through the native NitroCameraOutputs hook — the path an
RTMP / WebRTC publisher plugin takes. Upright, un-mirrored on Android,
camera timestamps; the preview keeps running (Android moves a direct
preview onto the GL renderer). width/height apply on Android; iOS
encodes at the session's frame size. Replaces a running encoder output.
Implementation
void startEncodedOutput(int textureId, int width, int height, int bitRate);