java.lang.Object
public VirtualDisplayEncoder()
Initialization method for VirtualDisplayEncoder object. MUST be called before start() or shutdown() Will overwrite previously set videoWeight and videoHeight
public void init(Context context,IVideoStreamListener outputListener,VideoStreamingParameters streamingParams) throws java.lang.Exception
public com.smartdevicelink.streaming.video.VideoStreamingParameters getStreamingParams()
Deprecated
This method is deprecated; setStreamingParams with having stableFrameRate should be used.
public void setStreamingParams(int displayDensity,ImageResolution resolution,int frameRate,int bitrate,int interval,VideoStreamingFormat format)
setter of every parameter in streamingParams.
public void setStreamingParams(int displayDensity,ImageResolution resolution,int frameRate,int bitrate,int interval,VideoStreamingFormat format,boolean stableFramerate)
public void setStreamingParams(VideoStreamingParameters streamingParams)
NOTE: Must call init() without error before calling this method. Prepares the encoder and virtual display.
public void start() throws java.lang.Exception
public void shutDown()
public android.view.Display getVirtualDisplay()
From Class | Methods |
---|---|
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |