onSendFirstLocalVideoFrame property
final
The First Local Video Frame Was Published
After you enter a room and call startLocalPreview or
startScreenCapture to enable local video capturing (whichever happens
first), the SDK will start video encoding and publish the local video
data via its network module to the cloud.
It returns the onSendFirstLocalVideoFrame callback after publishing the
first local video frame.
- Parameters:
- streamType(TRTCVideoStreamType):
- Video stream type. The primary stream (
Main) is usually used for camera images, and the substream (Sub) for screen sharing images.
- Video stream type. The primary stream (
- streamType(TRTCVideoStreamType):
Implementation
final void Function(TRTCVideoStreamType streamType)? onSendFirstLocalVideoFrame;