ReplayKit, Broadcast Upload Extension: Communicating Intent

Originator:o.schnurr
Number:rdar://33834405 Date Originated:8/10/2017
Status:open Resolved:no
Product:iOS Product Version:iOS 11 beta 5 (15A5341f)
Classification:suggestion Reproducible:
 
Area:
ReplayKit

Summary:
Although the broadcast upload extension (NSExtensionPointIdentifier: com.apple.broadcast-services-upload) can function as a screen recorder, the user-facing language that the OS presents to the user assumes a "broadcast".

This can be disorienting for users who are expecting to use the extension for some kind of screen recording but instead see a message like "Start Broadcast".

Could some kind of method or { get } property be added to RPBroadcastSampleHandler that lets the extension indicate its intent to the OS for either broadcasting or recording the samples? It could be something as simple as returning an enumerated value (like the way UIViewController. preferredStatusBarStyle does).

Steps to Reproduce:
- Run the attached SuperCoolCapture project to install the SuperCoolCapture app and associated "Recorder" extension on an iOS 11 device. (The project is empty boilerplate with a few of the bundle display names changed.)
- Install the Screen Recording button into your Control Center if it's not already installed.
- Bring up the Control Center.
- 3D touch the Screen Recording button.

Expected Results:
- The Screen Recording control shows some localized equivalent of "Start Recording" when the "Super Cool Recorder" is selected.
- After Recording starts, the control shows some localized equivalent of "Stop Recording".
- While recording, exiting the Command Center and tapping on the red status bar at the top shows an alert with some localized equivalent of "Screen Recording: Stop recording screen with Super Cool Recorder"

Observed Results:
- The Screen Recording control shows some localized equivalent of "Start Broadcasting" when the "Super Cool Recorder" is selected.
- After the recording starts, the control shows some localized equivalent of "Stop Broadcasting".
- While recording, exiting the Command Center and tapping on the red status bar at the top shows an alert with some localized equivalent of "Screen Broadcasting: Stop broadcasting screen with Super Cool Recorder"

Version:
- iOS 11 beta 5 (15A5341f)
- Xcode 9 beta 5 (9M202q)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!