15 #ifndef ALEXA_CLIENT_SDK_ALEXALIVEVIEWCONTROLLERINTERFACES_INCLUDE_ACSDK_ALEXALIVEVIEWCONTROLLERINTERFACES_LIVEVIEWCONTROLLERTYPES_H_ 16 #define ALEXA_CLIENT_SDK_ALEXALIVEVIEWCONTROLLERINTERFACES_INCLUDE_ACSDK_ALEXALIVEVIEWCONTROLLERINTERFACES_LIVEVIEWCONTROLLERTYPES_H_ 26 namespace alexaLiveViewControllerInterfaces {
98 if (microphoneState) {
142 switch (motionCapability) {
144 return "PHYSICAL_PAN";
146 return "PHYSICAL_TILT";
148 return "PHYSICAL_ZOOM";
175 switch (concurrentTwoWayTalkState) {
205 switch (displayMode) {
207 return "FULL_SCREEN";
235 switch (liveViewTrigger) {
237 return "AUTOMATED_EVENT";
239 return "USER_ACTION";
269 switch (overlayPosition) {
275 return "BOTTOM_RIGHT";
277 return "BOTTOM_LEFT";
303 switch (overlayType) {
305 return "PICTURE_IN_PICTURE";
396 return "PRESS_AND_HOLD";
488 return (name < anotherViewer.
name);
499 switch (viewerState) {
535 switch (targetType) {
537 return "ALEXA_ENDPOINT";
575 #endif // ALEXA_CLIENT_SDK_ALEXALIVEVIEWCONTROLLERINTERFACES_INCLUDE_ACSDK_ALEXALIVEVIEWCONTROLLERINTERFACES_LIVEVIEWCONTROLLERTYPES_H_ Camera has encountered an error which means it needs to reestablish the RTCSC session.
std::set< Viewer > viewers
List of the viewing devices. At least one viewing device must be specified.
Definition: LiveViewControllerTypes.h:549
Directs the viewing device to display the overlay on the top left of the screen.
TalkMode talkMode
Audio communication capability of the camera.
Definition: LiveViewControllerTypes.h:412
avsCommon::utils::Optional< std::string > model
(Optional) Model name of the camera. Maximum length is 512 characters.
Definition: LiveViewControllerTypes.h:430
The device acts as a camera. There can be one camera per streaming session.
OverlayPosition
Definition: LiveViewControllerTypes.h:249
DisplayMode
Definition: LiveViewControllerTypes.h:189
TargetType
Enum class for different types of target endpoints. Currently only ALEXA_ENDPOINT is supported...
Definition: LiveViewControllerTypes.h:515
Definition: LiveViewControllerTypes.h:410
std::string overlayTypeToString(OverlayType overlayType)
Definition: LiveViewControllerTypes.h:302
bool hasCameraControl
Definition: LiveViewControllerTypes.h:474
The viewing device supports picture-in-picture display mode.
Any other display mode not covered by the ones above.
Any other overlay type not covered by the ones above.
AudioState microphoneState
State of the microphone at the start of the streaming session.
Definition: LiveViewControllerTypes.h:416
AudioState microphoneStateToAudioState(bool microphoneState)
Definition: LiveViewControllerTypes.h:97
std::string name
Friendly name of the viewing device, such as "Kitchen Echo Show." Maximum length is 512 characters...
Definition: LiveViewControllerTypes.h:469
Motion capability unknown.
::std::string string
Definition: gtest-port.h:1097
Role
Definition: LiveViewControllerTypes.h:318
std::string targetTypeToString(Target::TargetType targetType)
Definition: LiveViewControllerTypes.h:534
Definition: LiveViewControllerTypes.h:557
ViewerState
Definition: LiveViewControllerTypes.h:459
DisplayMode displayMode
Display mode in which to render the live stream.
Definition: LiveViewControllerTypes.h:440
Any other audio state not covered by the ones above.
MotionCapability
Definition: LiveViewControllerTypes.h:124
Directs the viewing device to display the overlay on the top right of the screen. ...
std::string concurrentTwoWayTalkStateToString(ConcurrentTwoWayTalkState concurrentTwoWayTalkState)
Definition: LiveViewControllerTypes.h:174
Camera is connecting currently which means RTCSC session is being initialized.
Camera can tilt on the vertical axis.
LiveViewTrigger
Definition: LiveViewControllerTypes.h:219
ConcurrentTwoWayTalkState concurrentTwoWayTalk
Defines whether the camera supports concurrent two-way communication.
Definition: LiveViewControllerTypes.h:414
bool operator<(const Viewer &anotherViewer) const
Definition: LiveViewControllerTypes.h:487
Any other state that is not covered by the viewer states above.
avsCommon::utils::Optional< TargetType > type
(Optional) Type of endpoint. Valid value: ALEXA_ENDPOINT.
Definition: LiveViewControllerTypes.h:525
Device isn't authorized to access the live view feature.
Used to represent an Alexa endpoint.
DisplayProperties suggestedDisplay
Display properties of the live streaming session.
Definition: LiveViewControllerTypes.h:559
LiveViewTrigger liveViewTrigger
Reason the live view streaming session started.
Definition: LiveViewControllerTypes.h:563
std::string viewerStateToString(Viewer::ViewerState viewerState)
Definition: LiveViewControllerTypes.h:498
Camera supports two-way audio communication with the viewing device.
Directs the viewing device to display the overlay on the bottom left of the screen.
Camera doesn't support audio communication.
Any other concurrent two-way talk state not covered by the ones above.
Definition: LiveViewControllerTypes.h:424
Definition: LiveViewControllerTypes.h:438
Media source is turned off.
avsCommon::utils::Optional< OverlayPosition > overlayPosition
Definition: LiveViewControllerTypes.h:448
Camera is disconnected which means it cannot get the live camera stream anymore.
Definition: LiveViewControllerTypes.h:513
The user started the live view streaming session.
std::string make
Name of the manufacturer of the camera. Maximum length is 512 characters.
Definition: LiveViewControllerTypes.h:428
std::string roleToString(Role role)
Definition: LiveViewControllerTypes.h:336
Device battery is too low to support the live stream.
std::string liveViewTriggerToString(LiveViewTrigger liveViewTrigger)
Definition: LiveViewControllerTypes.h:234
ConcurrentTwoWayTalkState
Definition: LiveViewControllerTypes.h:159
AudioProperties audioProperties
Audio communication properties of the live streaming session.
Definition: LiveViewControllerTypes.h:561
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Alexa can't find the media source.
std::string talkModeToString(TalkMode talkMode)
Definition: LiveViewControllerTypes.h:393
avsCommon::utils::Optional< OverlayType > overlayType
Definition: LiveViewControllerTypes.h:445
Any other overlay position not covered by the ones above.
std::string motionCapabilityToString(MotionCapability motionCapability)
Definition: LiveViewControllerTypes.h:141
Viewing device is connecting, which means the user can not see the camera feed yet.
Camera supports optical zoom.
std::string overlayPositionToString(OverlayPosition overlayPosition)
Definition: LiveViewControllerTypes.h:268
Camera camera
Camera source of the live feed.
Definition: LiveViewControllerTypes.h:551
An automated event, such as a doorbell press, triggered the streaming session.
The camera live feed stream displays on the entire screen.
Viewing device is connected, which means the user can see the camera feed.
TalkMode
Definition: LiveViewControllerTypes.h:370
Definition: LiveViewControllerTypes.h:547
Status
Definition: LiveViewControllerTypes.h:352
Directs the viewing device to display the overlay on the bottom right of the screen.
Any other endpoint that is not supported at this point.
std::chrono::milliseconds idleTimeoutInMilliseconds
Definition: LiveViewControllerTypes.h:569
AudioState speakerState
State of the speaker at the start of the streaming session.
Definition: LiveViewControllerTypes.h:418
CameraState
Definition: LiveViewControllerTypes.h:108
Any other live view trigger mode not covered by the ones above.
std::string displayModeToString(DisplayMode displayMode)
Definition: LiveViewControllerTypes.h:204
bool audioStateToMicrophoneState(AudioState audioState)
Definition: LiveViewControllerTypes.h:79
std::string audioStateToString(AudioState audioState)
Definition: LiveViewControllerTypes.h:58
User requested to stop the live view session.
Any other role type not covered by the ones above.
OverlayType
Definition: LiveViewControllerTypes.h:287
Camera supports physical panning.
Any other talk mode not covered by the ones above.
The viewing device doesn't support overlay mode.
The camera live feed stream displays on top of other streams.
std::string endpointId
Identifier of the device.
Definition: LiveViewControllerTypes.h:523
avsCommon::utils::Optional< std::set< MotionCapability > > capabilities
(Optional) Motion capabilities of the camera.
Definition: LiveViewControllerTypes.h:432
AudioState
Definition: LiveViewControllerTypes.h:32
std::string name
Friendly name of the camera, such as "front door". Maximum length is 512 characters.
Definition: LiveViewControllerTypes.h:426
Definition: LiveViewControllerTypes.h:454
ViewerState state
Definition: LiveViewControllerTypes.h:478
Camera is currently connected which means RTCSC is ready to deliver the live camera stream...