
allowFullscreen - Specifices if fullscreen mode is allowed or not. scaleUp - Specifies if the video can be scaled up or not. keepAlive - The number of seconds between keep alive requests (only RTSP at the moment).
connectionTimeout - The number of seconds before a broken connection times out and is closed. buffer - The number of seconds that should be buffered. config is a JavaScript object that can have the following optional values: Stops transmitting microphone input to the camera speaker. StartAudioTransmit must be called again once permission has been granted. The optional type parameter can be used for future implementations of other protocols,Ĭurrently only the Axis audio transmit api is supported.įor Axis cameras the url parameter should be in the format - If the user must grant permission to use the microphone anĪudioTransmitRequestPermission event will be dispatched and Starts transmitting microphone input to the camera speaker. Resets the volume to previous unmuted value. Remembers the current volume and resets to it if the
fullScreen (bool) - if the player is currently in fullscreen mode. speakerMuted (bool) - if the speakers are muted. microphoneMuted (bool) - if the microphone is muted. speakerVolume - the volume of the speakers (i.e. microphoneVolume - the volume of the microphone when capturing audio. buffer - The length of the buffer in seconds. Returns a status object with the following data: duration - the duration of the currently playing media, or -1 if not available. streamURL - the source of the current media. state - current playback state (playing, paused, stopped). protocol - which high-level transport protocol is in use.
current time - ms from start of stream.playbackSpeed - current playback speed.