Video streaming API - Easily run video streams from camera capture or static picture files to RTP.
More...
Video streaming API - Easily run video streams from camera capture or static picture files to RTP.
Small API to display a local preview window.
MSVideoSize video_stream_get_sent_video_size |
( |
const VideoStream * |
stream | ) |
|
Gets the size of the video that is sent.
- Parameters
-
[in] | stream | The videostream for which to get the sent video size. |
- Returns
- The sent video size or MS_VIDEO_SIZE_UNKNOWN if not available.
MSVideoSize video_stream_get_received_video_size |
( |
const VideoStream * |
stream | ) |
|
Gets the size of the video that is received.
- Parameters
-
[in] | stream | The videostream for which to get the received video size. |
- Returns
- The received video size or MS_VIDEO_SIZE_UNKNOWN if not available.
int video_stream_get_camera_sensor_rotation |
( |
VideoStream * |
stream | ) |
|
Gets the camera sensor rotation.
This is needed on some mobile platforms to get the number of degrees the camera sensor is rotated relative to the screen.
- Parameters
-
stream | The video stream related to the operation |
- Returns
- The camera sensor rotation in degrees (0 to 360) or -1 if it could not be retrieved