function handleNotification(notification) {
  switch (notification.type) {
    case 'callUpdate':
      handleCallUpdate(notification.call);
      break;
    case 'userMediaError':
      console.log(
        'Permission denied or invalid audio/video params on `getUserMedia`'
      );
      break;
  }
}
/**
 * Handle notification from the client.
 */
Handle notification from the client.
Handle notification from the client .
function handleNotification(notification) {
  switch (notification.type) {
    case 'callUpdate':
      handleCallUpdate(notification.call);
      break;
    case 'userMediaError':
      console.log(
        'Permission denied or invalid audio/video params on `getUserMedia`'
      );
      break;
  }
}
function handleNotification ( notification ) { switch ( notification . type ) { case 'callUpdate' : handleCallUpdate ( notification . call ) ; break ; case 'userMediaError' : console . log ( 'Permission denied or invalid audio/video params on `getUserMedia`' ) ; break ; } }
Handle notification from the client.
Handle notification from the client .