0.1.5 • Published 5 years ago

@videsk/webrtc-ui v0.1.5

Weekly downloads
-
License
apache-2.0
Repository
github
Last release
5 years ago

Videsk WebRTC UI for Vue

This is a component of WebRTC UI for Vue, used in Widget, Apps, Kiosk and Facebook.

Installation

npm i @videsk/videsk-webrtc

How to use

<videsk-webrtc 
 :controlButtonText=""
 :participants="participants"
 :videoToggle="localVideoToggle"
 :audioToggle="localAudioToggle"
 :sendButton="sendMsg"
 :endCall="finishCall"
 :chat="true"
 :messages="messages">
</videsk-webrtc>
 
 <script>
 import webrtc from '@videsk/webrtc-ui';
 
 export default {
  components: {
    'videsk-webrtc': webrtc,
  },
 };
 </script>

Props

This is the table with list of props required and not.

PropDescriptionRequiredValueDefault
controlButtonTextText of button toggle controls container. For example you can pass i18n text.trueControles/Ocultar
placeholderInputPlaceholder of chat input.false'Escriba su mensaje aquí'
participantsArray with list of video participants.true[]
videoToggleFunction for detect when is muted/unmuted video.trueBoolean() => {}
audioToggleFunction for detect when is muted/unmuted audio.trueBoolean() => {}
fullscreenFunction for detect when is toggled fullscreen.falseBoolean() => {}
sendButtonFunction for detect when message is sendedtrueObject() => {}
endCallFunction for detect when is pressed end call button.true() => {}
chatSet for display or not chatfalsefalse
inputOnWriteFunction for detect on keypress in chat input.false() => {}
toggleControlsFunction for detect toggle of controls.falseBoolean() => {}
messagesList of messagestrue[]
0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago