Skip to content

docs(android): document HMSTextureRenderer (rounded tiles + setScalingType) - #2561

Merged
raviteja83 merged 1 commit into
mainfrom
docs/android-hmstexturerenderer-scalingtype
Oct 8, 2026
Merged

raviteja83 merged 1 commit into
mainfrom
docs/android-hmstexturerenderer-scalingtype

Conversation

@sapta100ms

Copy link
Copy Markdown
Collaborator

Adds an HMSTextureRenderer section to the Android Render Video guide — the class was previously only in the API reference with no guidance (raised by a client).

Covers:

  • When to use it over HMSVideoView: rounded or overlapping tiles (e.g. a local PiP over the remote), which a SurfaceView-backed HMSVideoView can't do (clipToOutline is ignored).
  • Wiring via a TextureView's SurfaceTexture (addTrack / displayResolution / removeTrack).
  • Rounded corners — wrap the TextureView in a clipping parent (a TextureView can't take a background drawable).
  • setScalingType — SCALE_ASPECT_FILL (handled in-SDK, fills without distortion); FIT/BALANCED via TextureView.setTransform using onResolutionChange.

Pairs with android-sdk #967 (adds setScalingType to HMSTextureRenderer).

🤖 Generated with Claude Code

… + setScalingType)

Adds a render-video section covering HMSTextureRenderer: when to use it over
HMSVideoView (rounded/overlapping tiles SurfaceView can't do), wiring via a
TextureView's SurfaceTexture, rounding corners with a clipping parent, and the
new setScalingType (SCALE_ASPECT_FILL in-SDK; FIT/BALANCED via TextureView.setTransform).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
100ms-docs Ready Ready Preview Oct 7, 2026 8:17am UTC

Request Review

@raviteja83
raviteja83 merged commit 6d516eb into main Oct 8, 2026
3 checks passed
@raviteja83
raviteja83 deleted the docs/android-hmstexturerenderer-scalingtype branch October 8, 2026 05:11

This branch was successfully deployed

1 active deployment
Preview — 4e5cba4d Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants