OzNativeMediaWriterInitVideoStream Method |
Initializes the video stream. If failed this object will be disposed.
Namespace:
Ozeki.Media
Assembly:
OzekiSDK (in OzekiSDK.dll) Version: 10.3.199.0
Syntaxpublic 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: OzNativeCodec
Codec.
Return Value
Type:
Booleantrue, if video stream was inited,
false otherwise.
See Also