I’ve managed to do a screen recording by following the guidance here and using FPSStreamingCast:
By default, it records video without any application or mic audio. To enable audio recording, I tried modifying this file:
Assets/NRSDKExperimental/Toolkits/FirstPersonView/Scripts/FirstPersonStreammingCast.cs
by setting:
public NRVideoCapture.AudioState m_AudioState = NRVideoCapture.AudioState.ApplicationAndMicAudio;
instead of NRVideoCapture.AudioState.None which was the original value.
However, the video still records without any audio stream. Also, the Android MediaProjection permission dialog which is supposed to show up when we start recording doesn’t show up, so I’m guessing something is wrong with the audio recording part.
Do you have any ideas to enable audio recording? Thanks.