github OpenVidu/openvidu v1.8.0

latest releases: v2.30.0, v2.29.0, v2.28.0...
6 years ago

Release v1.8.0

OPENVIDU-SERVER

  • Recording API extended: manual start and stop. Get, List, Delete recordings
  • Recording video files to MP4 (from less common MKV)
  • Grid layout for recording greatly improved: OpenVidu now makes the most of the available space in the recording canvas layout. This is based on the fantastic opentok-layout-js open source library

OPENVIDU-BROWSER

  • New event 'videoElementDestroyed' for Subscribers and Publishers: openvidu-browser triggers this event once the library has automatically removed the HTML video from DOM.

  • New errors defined: BROWSER_NOT_SUPPORTED (on Session.connect() method) and SCREEN_SHARING_NOT_SUPORTED (on OpenVIdu.initPublisher() method with 'screen' option)

  • LocalRecorder API: record any Stream directly from the browser:

    var OV = new OpenVidu();
    var publisher = OV.initPublisher(‘elementId’, publisherOptions);
    var localRecorder = OV.initLocalRecorder(publisher.stream);
    
    localRecorder.record(); // Record video....
    localRecorder.stop(); // End recording
    localRecorder.preview('preview-div'); // Preview recording in element with id 'preview-div'
    localRecorder.download(); // Save the video file
    localRecorder.uploadAsBinary("https://my-http-endpoint.com"); // Upload to an http endpoint

OTHER

  • Now available Docker container openvidu/testapp: this is the application used in OpenVidu CI environment to test most of the features provided by the platform. Extremely useful for testing OpenVidu capabilities. Give it a try!
docker run -p 8443:8443 openvidu/testapp
# Access the app through https://localhost:8443

BUG FIXES

  • Empty CDR file not being created on openvidu-server startup if openvidu.cdr property is set to 'false'
  • Fix bug when OpenVidu.initPublisher() was called before OpenVidu.initSession(): now it is possible to initialize a Publisher object without initializing or connecting to a Session. This can be useful for using OpenVidu Browser local recording feature without video-call capabilities or just to use the simple API for 'getUserMedia' that OpenVidu Browser implements.
  • Bug fix for ugly race condition regarding streamCreated event (was sometimes being called twice for Subscriber objects when a Publisher and a Subscriber joined a Session at the exact same time).

Don't miss a new openvidu release

NewReleases is sending notifications on new releases.