2

EveryPlay.SharedInstance.IsRecordingSupported() is always FALSE on my Android devices - Nexus 5 and 7.

I am still able to record and post video on those devices if I just ignore the value.

Note: EveryPlay.SharedInstance.IsSupported() is True

Should I check for this EveryPlay.SharedInstance.IsRecordingSupported() before showing EveryPlay Recording/Sharing option to user - EveryPlay.SharedInstance.IsRecordingSupported() ?

1 Answer 1

2

Due to wide range of driver behaviour, hardware encoders, GPUs and Android version differences out there, Everyplay SDK caches device specific settings online from a remote server

Until the settings are successfully received, the recording support is automatically disabled. After receiving the server response, the recording support is either enabled or continued to be disabled to workaround devices known to cause trouble. Next time the application is started, the settings are applied from the cache immediately upon startup without requiring network access

In it's current form, there's a chance of getting unsupported status from EveryPlay.SharedInstance.IsRecordingSupported() if the method is called too early.

EveryPlay.SharedInstance.IsRecordingSupported() being a synchronous method, it might be better to try out adding an event handler for Everyplay.SharedInstance.ReadyForRecording

If the recording is eventually supported after all asynchronous tasks in the early initialization phase, ReadyForRecording gets called with granted boolean parameter set to true. In unsupported scenarios, there's probably a few corner cases more where it should also be called

1
  • You are correct. I was calling IsRecordingSupported too early. After ReadyForRecording delegate, IsRecordingSupported = true as expected. Apr 8, 2014 at 8:11

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.