Skip to content

fix: Add timeout for waiting RTCRtpReceiver.GetStats coroutine#825

Merged
karasusan merged 1 commit intomainfrom
fix/getstat-timeout
Jan 10, 2023
Merged

fix: Add timeout for waiting RTCRtpReceiver.GetStats coroutine#825
karasusan merged 1 commit intomainfrom
fix/getstat-timeout

Conversation

@karasusan
Copy link
Copy Markdown
Collaborator

Sometimes RTCRtpReceiver.GetStats and RTCRtpSender.GetStats methods take a long time to return on Android.
This PR sets timeout for waiting these methods and updates statistics on the viewer certainly.

@karasusan karasusan requested a review from kannan-xiao4 January 6, 2023 04:34
@karasusan karasusan merged commit b6fb8df into main Jan 10, 2023
@karasusan karasusan deleted the fix/getstat-timeout branch January 10, 2023 01:15
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