if(HAVE_WEBRTC)
  if(HAVE_FFMPEG)
    add_subdirectory(webrtcstreamer)
    #add_subdirectory(webrtcrecorder)
  endif()
  #add_subdirectory(webrtccapturer)
endif()

if(HAVE_WEBRTC)
  if(HAVE_FFMPEG)
    add_subdirectory(webrtcstreamer)
    add_subdirectory(webrtcrecorder)
  endif()
  add_subdirectory(webrtccapturer)
endif()

Enable webrtcrecorder and webrtccapturer samples
Enable webrtcrecorder and webrtccapturer samples