How to change class of the BS5 button on click

I’m trying to change button class on click but this is not that simple for me

  static targets = ["bi-camera-video-off", "bi-camera-video-fill"]
  static classes = ["bi-camera-video-off", "bi-camera-video-fill"]
videoSwitchBtn(event) {
    if (this.publisher.getVideoSource().track) {
    } else {

In my html I have this

<button data-action="click->vonage#videoSwitchBtn" class="call-button">
   <span data-target="" class="icon-custom bi bi-camera-video-off"</span>

I have error
ReferenceError: camera is not defined

Any idea on why is not defined? Is that because bi-camera is conected by - ?