* @description Sets media path of the file source.
* @scenario Sets media path of the file source.
* @apicovered webrtc_file_source_set_path
-* @passcase If webrtc_file_source_set_path is successfull
+* @passcase If webrtc_file_source_set_path is successful
* @failcase If webrtc_file_source_set_path fails
* @precondition NA
* @postcondition NA
nRet = webrtc_file_source_set_path(g_hWebRtcHandle, nId, g_pszFilePath);
PRINT_RESULT(WEBRTC_ERROR_NONE, nRet, "webrtc_file_source_set_path", WebRtcGetError(nRet));
+ /* one more call for increasing code/function coverage, it'll release resources created by the previous call */
+ nRet = webrtc_file_source_set_path(g_hWebRtcHandle, nId, g_pszFilePath);
+ PRINT_RESULT(WEBRTC_ERROR_NONE, nRet, "webrtc_file_source_set_path", WebRtcGetError(nRet));
+
g_mutex_lock(&cb_data.mutex);
nRet = webrtc_start(g_hWebRtcHandle);