OzNativeMediaWriterInitVideoStream Method |
Initializes the video stream. If failed this object will be disposed.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public bool InitVideoStream(
int width,
int height,
double framerate,
int bitrate,
OzNativeCodec codec
)
Public Function InitVideoStream (
width As Integer,
height As Integer,
framerate As Double,
bitrate As Integer,
codec As OzNativeCodec
) As Boolean
public:
bool InitVideoStream(
int width,
int height,
double framerate,
int bitrate,
OzNativeCodec codec
)
member InitVideoStream :
width : int *
height : int *
framerate : float *
bitrate : int *
codec : OzNativeCodec -> bool
Parameters
- width
- Type: SystemInt32
Width. - height
- Type: SystemInt32
Height. - framerate
- Type: SystemDouble
Framerate. - bitrate
- Type: SystemInt32
Bitrate. - codec
- Type: Ozeki.CommonOzNativeCodec
Codec.
Return Value
Type:
Booleantrue, if video stream was inited,
false otherwise.
See Also