int webrtc_media_source_get_video_resolution(webrtc_h webrtc, unsigned int source_id, int *width, int *height);
/**
- * @brief Sets a video source frame rate.
+ * @brief Sets a video source frame rate, also known as FPS.
* @details The following media source types contain video:\n
* #WEBRTC_MEDIA_SOURCE_TYPE_VIDEOTEST\n
* #WEBRTC_MEDIA_SOURCE_TYPE_CAMERA\n
int webrtc_media_source_set_video_framerate(webrtc_h webrtc, unsigned int source_id, int framerate);
/**
- * @brief Gets the video source frame rate.
+ * @brief Gets the video source frame rate, also known as FPS.
* @details The following media source types contain video:\n
* #WEBRTC_MEDIA_SOURCE_TYPE_VIDEOTEST\n
* #WEBRTC_MEDIA_SOURCE_TYPE_CAMERA\n
* @retval #WEBRTC_ERROR_INVALID_OPERATION Invalid operation
* @retval #WEBRTC_ERROR_INVALID_STATE Invalid state
* @pre @a channel should be opened before calling this function.
+ * @post webrtc_data_channel_error_cb() will be invoked if this function fails.
* @see webrtc_data_channel_open_cb()
* @see webrtc_data_channel_send_bytes()
*/
* @retval #WEBRTC_ERROR_INVALID_OPERATION Invalid operation
* @retval #WEBRTC_ERROR_INVALID_STATE Invalid state
* @pre @a channel should be opened before calling this function.
+ * @post webrtc_data_channel_error_cb() will be invoked if this function fails.
* @see webrtc_data_channel_open_cb()
* @see webrtc_data_channel_send_string()
*/