#iOS: Sound is Suppressed When Recording

1 messages · Page 1 of 1 (latest)

burnt stirrup
#

I incorporated a feature to video record the screen using the Screen Record Kit a few months ago. I was testing it just recently and I noticed that for iOS the sound is significantly suppressed and the volume is much lower while the screen recording is occurring. And then when you stop the recording, the volume jumps back up to normal. I don't recall this being an issue a few months ago

Are you familiar with this? Did something new happen with an iOS update? Or is there something I am doing wrong or might need to change?

burnt stirrup
#

Any suggestions here?

vivid frigate
#

There is nothing that was modified related to audio. Can you please share your plugin settings screenshot once?

burnt stirrup
#

@vivid frigate Yes...here it is

#

I uploaded a video of it happening above as well...

In the video above, the first time the video in the app starts playing you can hear the audio is playing fine (the Screen Recorder is not activated yet). Then you will see me hit the Record button in my app, which brings up the system permission dialog. I will press 'Record Screen and Microphone', you will see a countdown, and this is where the Screen Recorder gets activated in the app. When the video starts playing this time, you will hear it is now muffled...After a few seconds, I hit the Stop button in my app, which stops the Screen Recorder, and you will hear the audio instantly return to normal at that point

burnt stirrup
vivid frigate
#

We still need to find out the reason. Can you please share the audio inspector settings once?

burnt stirrup
vivid frigate
#

Ok. Got it!

#

I will schedule a test this week with a video.

burnt stirrup
#

Awesome...thanks!

vivid frigate
#

@burnt stirrup Can you please try updating this file in unity and let me know if it's fine?

burnt stirrup
# vivid frigate <@670510952780660756> Can you please try updating this file in unity and let me ...

Thanks for working on this and sending over an update. I tested it out and here is the difference I am seeing between the two versions...

Original Version (iOS):

  • I get a system request to "Record Screen and Microphone" or "Record Screen Only"
  • With either one of those requests, audio is recorded
  • If "Record Screen and Microphone" is selected, then the internal audio is recorded as well as the audio from the environment -- This is also where the audio gets suppressed
  • If "Record Screen Only" is selected, the internal audio is recorded, and no audio from the environment is recorded -- The audio playing is NOT suppressed with this option

New Version (iOS):

  • I only get an option to "Record Screen"
  • Both the internal audio and the audio from the environment are recorded
  • The audio playing does NOT get suppressed with this option

So, this new version does seem to help. Is there a way where we, as the developer, can choose whether the user gets both recording options or only one of the recording options of our choosing?

vivid frigate
#

Do you have a diff in your repo about the file changes (VideoRecorder.m)?

burnt stirrup