Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote VideoTrack can not rendered by VideoRenderer after onTrack fired #40

Closed
hongshengjie opened this issue Jul 10, 2023 · 1 comment

Comments

@hongshengjie
Copy link

No description provided.

@hongshengjie hongshengjie changed the title remote VideoTrack can not rendered by VideoRenderer after onTrack fires remote VideoTrack can not rendered by VideoRenderer after onTrack fired Jul 10, 2023
@hongshengjie
Copy link
Author

hongshengjie commented Jul 11, 2023

`
if (remoteVideoTrack != null) {
Log.v("room_page","remote video track ${remoteVideoTrack?.id()} ${remoteVideoTrack?.kind()} ${remoteVideoTrack?.enabled()} state:${remoteVideoTrack?.state()}")

VideoRenderer(
modifier = Modifier
.fillMaxSize()
.onSizeChanged { parentSize = it },
videoTrack = remoteVideoTrack!!,
)
}
`

I can see the log

remote video track b28f8788-169e-4355-aa35-d0a3ea61bd84 video true state:LIVE

but the screen not render the VideoTrack

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

No branches or pull requests

1 participant