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

VIDCS-974: React Native- IOS: App crash #675

Merged
merged 4 commits into from
Jul 5, 2023
Merged

Conversation

jvalli
Copy link
Contributor

@jvalli jvalli commented Jun 22, 2023

OTScreenCapture class was updated to replace timer producing crash on start/stop screen share publish.

Contributing checklist

  • [√] Code must follow existing styling conventions
  • [√] Added a descriptive commit message
  • Sample apps updated if needed

Solves issue(s)

VIDCS-974: React Native- IOS: App crash

Copy link
Collaborator

@goncalocostamendes goncalocostamendes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Lef some comments but feel free to disregard

Copy link
Collaborator

@juliobecerragomez juliobecerragomez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much to say. I am not familiar with this code, if it fixes the crash... great!

{
// don't rock the boat. if nothing has changed, don't update anything.
- (CMTime)getTimeStamp {
static mach_timebase_info_data_t time_info;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a static here? Is the call below particularly slow?

@jeffswartz jeffswartz merged commit d327d99 into main Jul 5, 2023
@jeffswartz jeffswartz deleted the bug/jv/VIDCS-974 branch July 5, 2023 22:39
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.

4 participants