WZRenderAPI.VideoFrameRendererimplementation attempts to call
onWZVideoFrameRendererInit()has been called.
WZMP4Writerthat could cause a crash or indeterminate state when capturing an MP4 while streaming
WZMP4Broadcasterclasses now support writing and broadcasting audio tracks respectively.
WZGLBroadcasterclass to capture and stream from video sources other than the
WZCameraViewand simplify the process of integrating any OpenGL ES-based app.
WZGLES.EglEnvOpenGL ES utility class that can be used with a wide variety of OpenGL ES configurations
nullafter an app returned to the foreground
WZCameraView.getStatus()has been deprecated in favor of
WZCameraView.isPaused()has been deprecated in favor of
WZAudioDeviceclass now includes the methods
setSamplingConfig(WZBroadcastConfig)to specify custom audio properties from the audio sampler.
WZVideoFrameRendererclass to separate frame renderers from frame listeners (
WZVideoFrameListener) enabling a simpler integration model for developing plugins
Sample App Updates
BluetoothActivity) demonstrating the use of a Bluetooth mic as the audio capture device
WZCameraclass that were previously
publicto aid development of apps wishing to access the camera through methods other than
setAudioSource()method to the
WZAudioDeviceclass for specifying a specific device as the source for the audio stream. See the documentation for Android's android.media.MediaRecorder.AudioSource class for a list of the values that can be specified.
WZCameraViewcontaining the preview, the preview may not fill the view completely on certain devices.
A fix for both of these issues is in progress and will be available in the next SDK build to be released within the next couple of days.
WZCameraViewas a callback to be invoked when the camera preview display is fully initialized.
WZBitmapclass causing a crash when returning to a paused activity
onPause() have been added to the
WZCameraView class that should be called from the corresponding Android activity lifecycle. See the
CameraActivityBase classes in the sample app for examples of their use.
WZBitmap class has been added enabling the rendering of bitmap as overlays in the camera preview display.
OverlayBitmapActivity has been added to the sample app demonstrating the use of the new
WZRenderAPI.FrameListener interface has been renamed
WZAudioDevice.AudioSampleListener interface has been added for building audio sample listener classes, replacing the
WZAudioDevice.registerAudioSampleListener(...)method has been added for registering audio sample listener classes, replacing the
stopAudioSampler()have been added to the
WZAudioDeviceclass to enable sampling the audio input device when not streaming.
WZMediaConfig.setAudioSampleRatethe actual rate selected will be the next highest value.
AudioMeterActivityhas been added to the sample app demonstrating the use of the audio sample listener updates.
WZCameraViewclasses were updated with improved error reporting capabilities. See the
onResume()method of the
CameraActivityclass in the sample app for examples of their use.
WZCameranow includes additional methods that can be used to detect if an error occurred when the SDK was attempting to open the camera:
WZCameraViewnow includes a method entitled
getAvailableDeviceCameras()that can be used to return only those camera that can be successfully opened and accessed without error.
WZErrorclass now includes a method entitled
getException()that will return any Java exception that was associated with the SDK error.
toString()method for the
WZMediaConfigand it's subclasses now returns a detailed listing of the configuration properties.
MP4BroadcastActivityclasses in the sample app for examples of their use.
WZMP4Writercan be used to write an MP4 to local storage of the video stream
WZMP4Broadcastercan be used to stream the video from an MP4 file
CameraActivityclass in the sample app for an example of querying the profiles and profile levels available.
WZMediaConfigclass now includes a profile level property for specifying the profile and profile levels (
int WZEncoderAPI.getProfiles()returns an array of H.264 profile identifiers supported by the current device's H.264 encoder.
WZProfileLevel WZEncoderAPI.getProfileLevels()returns an array of the
WZProfileLevelinstances describing the H.264 profiles and profile levels supported by the current device's H.264 encoder.
GoCoderSDKActivityto the sample app to consolidate common Activity code
WZSurfaceTexturethat provides a seamless API to render, encode, and stream OpenGL ES output.
WZSurfaceTextureclass to the sample app
In the WZStatusCallback interface, the following method signatures have been changed in order to reduce the chance of collision with identically named methods in other sources/libraries.
PLEASE NOTE: THIS IS A BREAKING CHANGE, AND YOUR CODE WILL NEED TO BE UPDATED TO USE THESE NEW METHOD NAMES