Android SDK API Reference
|
A renderer view object that displays video. More...
Classes | |
enum | ScalingEnum |
Scaling type enum. More... | |
Public Member Functions | |
Canvas (Context context) | |
Canvas (Context context, AttributeSet attrs) | |
Canvas (Context context, AttributeSet attrs, int defStyleAttr) | |
void | requestLayout () |
void | addSrc (MediaStream stream, int trackNo) |
Add media stream and track no. More... | |
void | removeSrc (MediaStream stream, int trackNo) |
Remove media stream and track no. More... | |
void | setZOrderMediaOverlay (final boolean isMediaOverlay) |
setZOrderMediaOverlay More... | |
void | setZOrderOnTop (final boolean onTop) |
setZOrderOnTop More... | |
void | onFirstFrameRendered () |
void | onFrameResolutionChanged (int videoWidth, int videoHeight, int rotation) |
Public Attributes | |
boolean | mirror |
View in mirror. More... | |
ScalingEnum | scaling |
Scaling type. | |
A renderer view object that displays video.
io.skyway.Peer.Browser.Canvas.Canvas | ( | Context | context | ) |
context |
io.skyway.Peer.Browser.Canvas.Canvas | ( | Context | context, |
AttributeSet | attrs | ||
) |
context | |
attrs |
io.skyway.Peer.Browser.Canvas.Canvas | ( | Context | context, |
AttributeSet | attrs, | ||
int | defStyleAttr | ||
) |
context | |
attrs | |
defStyleAttr |
void io.skyway.Peer.Browser.Canvas.addSrc | ( | MediaStream | stream, |
int | trackNo | ||
) |
Add media stream and track no.
stream | Media stream. |
trackNo | Video track number. |
void io.skyway.Peer.Browser.Canvas.removeSrc | ( | MediaStream | stream, |
int | trackNo | ||
) |
Remove media stream and track no.
stream | Media stream. |
trackNo | Video track number. |
void io.skyway.Peer.Browser.Canvas.setZOrderMediaOverlay | ( | final boolean | isMediaOverlay | ) |
setZOrderMediaOverlay
isMediaOverlay | isMediaOverlay |
void io.skyway.Peer.Browser.Canvas.setZOrderOnTop | ( | final boolean | onTop | ) |
setZOrderOnTop
onTop | onTop |
boolean io.skyway.Peer.Browser.Canvas.mirror |
View in mirror.
View in mirror.