wtsnz / obs-ios-camera-source

Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB
https://obs.camera/
GNU General Public License v2.0
346 stars 60 forks source link

Instead of getting the clock again just use the cur_time #52

Closed eric closed 3 years ago

eric commented 4 years ago

I noticed that there was already a system clock that we had fetched and it seemed like it was worth using it.

eric commented 4 years ago

I'm definitely not sure if this is a good change, but it was just something that I wanted to propose.

eric commented 3 years ago

I've been told by the OBS developers that this shouldn't actually impact whether video frames are queued or not. Using the async mechanism of sending frames means they get displayed as soon as they are sent.

wtsnz commented 3 years ago

Thanks @eric for the confirmation. I'll merge it in as it is neater.