Skip to content

[feature] Expose video placeholder #1061

@bdlukaa

Description

@bdlukaa

Is your feature request related to a problem? Please describe.

When displaying a video, VideoTrackRenderer takes some time to set up the platform view or texture. During that time, around one second, a black widget is rendered.

Describe the solution you'd like

Expose a video placeholder that is displayed while the native view is not initialized yet.

Describe alternatives you've considered

Using a stack a checking if video track is initialized, but that is not as accurate as the placeholder.

videoTrack != null && videoTrack!.isActive && !videoTrack!.muted

Additional context

RTCVideoView provides a placeholder builder callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions