diff --git a/CHANGELOG.md b/CHANGELOG.md index 2797b4cc..81544160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Unreleased +## [0.10.0] - 2021-01-21 ### Added * **Breaking** Added content share metrics as new enums in `ObservableMetric`. diff --git a/README.md b/README.md index f6d3dcfb..667c0c20 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,8 @@ For the purpose of setup, your project's root folder will be referred to as `roo Download the following zips: -* [amazon-chime-sdk-0.9.1.tar.gz](https://amazon-chime-sdk-android.s3.amazonaws.com/sdk/0.9.1/amazon-chime-sdk-0.9.1.tar.gz) -* [amazon-chime-sdk-media-0.9.0.tar.gz](https://amazon-chime-sdk-android.s3.amazonaws.com/media/0.9.0/amazon-chime-sdk-media-0.9.0.tar.gz) +* [amazon-chime-sdk-0.10.0.tar.gz](https://amazon-chime-sdk-android.s3.amazonaws.com/sdk/0.10.0/amazon-chime-sdk-0.10.0.tar.gz) +* [amazon-chime-sdk-media-0.10.0.tar.gz](https://amazon-chime-sdk-android.s3.amazonaws.com/media/0.10.0/amazon-chime-sdk-media-0.10.0.tar.gz) Unzip them and copy the aar files to `root/app/libs` @@ -97,7 +97,7 @@ Provide `https://xxxxx.xxxxx.xxx.com/Prod/` for mobile demo app. Download the following zip: -* [amazon-chime-sdk-media-0.9.0.tar.gz](https://amazon-chime-sdk-android.s3.amazonaws.com/media/0.9.0/amazon-chime-sdk-media-0.9.0.tar.gz) +* [amazon-chime-sdk-media-0.10.0.tar.gz](https://amazon-chime-sdk-android.s3.amazonaws.com/media/0.10.0/amazon-chime-sdk-media-0.10.0.tar.gz) Unzip and copy the aar files to `amazon-chime-sdk-android/amazon-chime-sdk/libs` diff --git a/docs/amazon-chime-sdk/alltypes/index.html b/docs/amazon-chime-sdk/alltypes/index.html index a2e9a46d..3f8e042d 100644 --- a/docs/amazon-chime-sdk/alltypes/index.html +++ b/docs/amazon-chime-sdk/alltypes/index.html @@ -59,6 +59,31 @@
ConsoleLogger writes logs with console

+
com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareController
+

ContentShareController exposes methods for starting and stopping content share with a ContentShareSource. +The content represents a media steam to be shared in the meeting, such as screen capture or +media files. +Read content share guide for details.

+ + +
com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareObserver
+

ContentShareObserver handles all callbacks related to the content share. +By implementing the callback functions and registering with ContentShareController.addContentShareObserver, +one can get notified with content share status events.

+ + +
com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareSource
+

ContentShareSource contains the media sources to attach to the content share

+ + +
com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareStatus
+

ContentShareStatus indicates a status received regarding the content share.

+ + +
com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareStatusCode
+

ContentShareStatusCode indicates the reason the content share event occurred.

+ +
com.amazonaws.services.chime.sdk.meetings.session.CreateAttendeeResponse
@@ -94,6 +119,9 @@
Surface provided by the capture source provided by a SurfaceTextureCaptureSourceFactory

+
com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.DefaultContentShareController
+ +
com.amazonaws.services.chime.sdk.meetings.device.DefaultDeviceController
@@ -110,9 +138,21 @@
com.amazonaws.services.chime.sdk.meetings.session.DefaultMeetingSession
+
com.amazonaws.services.chime.sdk.meetings.utils.DefaultModality
+

DefaultModality is a backwards compatible extension of the +attendee id (UUID string) and session token schemas (base 64 string). +It appends # to either strings, which indicates the modality +of the participant.

+ +
com.amazonaws.services.chime.sdk.meetings.realtime.DefaultRealtimeController
+
com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.DefaultScreenCaptureSource
+

DefaultScreenCaptureSource uses MediaProjection to create a VirtualDisplay to capture the +device screen. It will render the captured frames to a Surface provided by a SurfaceTextureCaptureSourceFactory.

+ +
com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.DefaultSurfaceTextureCaptureSource

DefaultSurfaceTextureCaptureSource will provide a Surface which it will listen to and convert to VideoFrameTextureBuffer objects

@@ -215,6 +255,9 @@
MetricsObserver handles events related to audio/video metrics.

+
com.amazonaws.services.chime.sdk.meetings.utils.ModalityType
+ +
com.amazonaws.services.chime.sdk.meetings.audiovideo.metric.ObservableMetric

ObservableMetric represents filtered metrics that are intended to propagate to the top level observers. All metrics are measured over the past second.

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector/-active-speaker-detector-facade/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector/-active-speaker-detector-facade/index.html index 8736f808..3c853125 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector/-active-speaker-detector-facade/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector/-active-speaker-detector-facade/index.html @@ -40,7 +40,7 @@

Inheritors

AudioVideoFacade

-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade +interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/add-content-share-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/add-content-share-observer.html new file mode 100644 index 00000000..3d45f40a --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/add-content-share-observer.html @@ -0,0 +1,18 @@ + + + +ContentShareController.addContentShareObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareController / addContentShareObserver
+
+

addContentShareObserver

+ +abstract fun addContentShareObserver(observer: ContentShareObserver): Unit +

Subscribe the given observer to content share events (sharing started and stopped).

+

Parameters

+

+observer - : ContentShareObserver - The observer to be notified for events.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/index.html new file mode 100644 index 00000000..b351becf --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/index.html @@ -0,0 +1,73 @@ + + + +ContentShareController - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareController
+
+

ContentShareController

+interface ContentShareController +

ContentShareController exposes methods for starting and stopping content share with a ContentShareSource. +The content represents a media steam to be shared in the meeting, such as screen capture or +media files. +Read content share guide for details.

+

Functions

+ + + + + + + + + + + + + + + + + + + +
+

addContentShareObserver

+
+

Subscribe the given observer to content share events (sharing started and stopped).

+abstract fun addContentShareObserver(observer: ContentShareObserver): Unit
+

removeContentShareObserver

+
+

Unsubscribe the given observer from content share events.

+abstract fun removeContentShareObserver(observer: ContentShareObserver): Unit
+

startContentShare

+
+

Start sharing the content of a given ContentShareSource.

+abstract fun startContentShare(source: ContentShareSource): Unit
+

stopContentShare

+
+

Stop sharing the content of a ContentShareSource that previously started.

+abstract fun stopContentShare(): Unit
+

Inheritors

+ + + + + + + + + + + +
+

AudioVideoFacade

+
+interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController
+

DefaultContentShareController

+
+class DefaultContentShareController : ContentShareController
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/remove-content-share-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/remove-content-share-observer.html new file mode 100644 index 00000000..2da8e588 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/remove-content-share-observer.html @@ -0,0 +1,18 @@ + + + +ContentShareController.removeContentShareObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareController / removeContentShareObserver
+
+

removeContentShareObserver

+ +abstract fun removeContentShareObserver(observer: ContentShareObserver): Unit +

Unsubscribe the given observer from content share events.

+

Parameters

+

+observer - : ContentShareObserver - The observer to be removed for events.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/start-content-share.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/start-content-share.html new file mode 100644 index 00000000..98740a2b --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/start-content-share.html @@ -0,0 +1,25 @@ + + + +ContentShareController.startContentShare - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareController / startContentShare
+
+

startContentShare

+ +abstract fun startContentShare(source: ContentShareSource): Unit +

Start sharing the content of a given ContentShareSource.

+

Once sharing has started successfully, ContentShareObserver.onContentShareStarted will +be invoked. If sharing fails or stops, ContentShareObserver.onContentShareStopped +will be invoked with ContentShareStatus as the cause.

+

This will call VideoSource.addVideoSink on the provided source +and VideoSource.removeVideoSink on the previously provided source.

+

Calling this function repeatedly will replace the previous ContentShareSource as the one being +transmitted.

+

Parameters

+

+source - : ContentShareSource - The source of content to be shared.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/stop-content-share.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/stop-content-share.html new file mode 100644 index 00000000..1dc17fa7 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-controller/stop-content-share.html @@ -0,0 +1,17 @@ + + + +ContentShareController.stopContentShare - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareController / stopContentShare
+
+

stopContentShare

+ +abstract fun stopContentShare(): Unit +

Stop sharing the content of a ContentShareSource that previously started.

+

Once the sharing stops successfully, ContentShareObserver.onContentShareStopped +will be invoked with status code ContentShareStatusCode.OK.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/index.html new file mode 100644 index 00000000..8ef39637 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/index.html @@ -0,0 +1,39 @@ + + + +ContentShareObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareObserver
+
+

ContentShareObserver

+interface ContentShareObserver +

ContentShareObserver handles all callbacks related to the content share. +By implementing the callback functions and registering with ContentShareController.addContentShareObserver, +one can get notified with content share status events.

+

Functions

+ + + + + + + + + + + +
+

onContentShareStarted

+
+

Called when the content share has started. +This callback will be on the main thread.

+abstract fun onContentShareStarted(): Unit
+

onContentShareStopped

+
+

Called when the content is no longer shared with other attendees +with the reason provided in the status.

+abstract fun onContentShareStopped(status: ContentShareStatus): Unit
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/on-content-share-started.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/on-content-share-started.html new file mode 100644 index 00000000..837c9d76 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/on-content-share-started.html @@ -0,0 +1,16 @@ + + + +ContentShareObserver.onContentShareStarted - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareObserver / onContentShareStarted
+
+

onContentShareStarted

+ +abstract fun onContentShareStarted(): Unit +

Called when the content share has started. +This callback will be on the main thread.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/on-content-share-stopped.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/on-content-share-stopped.html new file mode 100644 index 00000000..d9228e23 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-observer/on-content-share-stopped.html @@ -0,0 +1,21 @@ + + + +ContentShareObserver.onContentShareStopped - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareObserver / onContentShareStopped
+
+

onContentShareStopped

+ +abstract fun onContentShareStopped(status: ContentShareStatus): Unit +

Called when the content is no longer shared with other attendees +with the reason provided in the status.

+

If you no longer need the source producing frames, +most builders can stop the source after this callback is invoked.

+

Parameters

+

+status - : ContentShareStatus - the reason why the content share has stopped

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/-init-.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/-init-.html new file mode 100644 index 00000000..03f398bc --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/-init-.html @@ -0,0 +1,15 @@ + + + +ContentShareSource.<init> - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareSource / <init>
+
+

<init>

+ +ContentShareSource() +

ContentShareSource contains the media sources to attach to the content share

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/index.html new file mode 100644 index 00000000..b21c2b63 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/index.html @@ -0,0 +1,39 @@ + + + +ContentShareSource - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareSource
+
+

ContentShareSource

+open class ContentShareSource +

ContentShareSource contains the media sources to attach to the content share

+

Constructors

+ + + + + + + +
+

<init>

+
+

ContentShareSource contains the media sources to attach to the content share

+ContentShareSource()
+

Properties

+ + + + + + + +
+

videoSource

+
+open var videoSource: VideoSource?
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/video-source.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/video-source.html new file mode 100644 index 00000000..c6113b03 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-source/video-source.html @@ -0,0 +1,14 @@ + + + +ContentShareSource.videoSource - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareSource / videoSource
+
+

videoSource

+ +open var videoSource: VideoSource? + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/-o-k.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/-o-k.html new file mode 100644 index 00000000..f5aa7b84 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/-o-k.html @@ -0,0 +1,15 @@ + + + +ContentShareStatusCode.OK - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareStatusCode / OK
+
+

OK

+ +OK +

No failure.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/-video-service-failed.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/-video-service-failed.html new file mode 100644 index 00000000..c6e38640 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/-video-service-failed.html @@ -0,0 +1,16 @@ + + + +ContentShareStatusCode.VideoServiceFailed - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareStatusCode / VideoServiceFailed
+
+

VideoServiceFailed

+ +VideoServiceFailed +

Content share video connection is in an unrecoverable failed state. +Restart content share connection when this error is encountered.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/index.html new file mode 100644 index 00000000..05c15bf7 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status-code/index.html @@ -0,0 +1,36 @@ + + + +ContentShareStatusCode - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareStatusCode
+
+

ContentShareStatusCode

+enum class ContentShareStatusCode +

ContentShareStatusCode indicates the reason the content share event occurred.

+

Enum Values

+ + + + + + + + + + + +
+

OK

+
+

No failure.

+
+

VideoServiceFailed

+
+

Content share video connection is in an unrecoverable failed state. +Restart content share connection when this error is encountered.

+
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/-init-.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/-init-.html new file mode 100644 index 00000000..4f1fb80e --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/-init-.html @@ -0,0 +1,18 @@ + + + +ContentShareStatus.<init> - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareStatus / <init>
+
+

<init>

+ +ContentShareStatus(statusCode: ContentShareStatusCode) +

ContentShareStatus indicates a status received regarding the content share.

+

Parameters

+

+statusCode - : ContentShareStatusCode - Additional details for the status

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/index.html new file mode 100644 index 00000000..ed33c03f --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/index.html @@ -0,0 +1,43 @@ + + + +ContentShareStatus - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareStatus
+
+

ContentShareStatus

+data class ContentShareStatus +

ContentShareStatus indicates a status received regarding the content share.

+

Parameters

+

+statusCode - : ContentShareStatusCode - Additional details for the status

+

Constructors

+ + + + + + + +
+

<init>

+
+

ContentShareStatus indicates a status received regarding the content share.

+ContentShareStatus(statusCode: ContentShareStatusCode)
+

Properties

+ + + + + + + +
+

statusCode

+
+

: ContentShareStatusCode - Additional details for the status

+val statusCode: ContentShareStatusCode
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/status-code.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/status-code.html new file mode 100644 index 00000000..3b313e3b --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-content-share-status/status-code.html @@ -0,0 +1,15 @@ + + + +ContentShareStatus.statusCode - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / ContentShareStatus / statusCode
+
+

statusCode

+ +val statusCode: ContentShareStatusCode +

: ContentShareStatusCode - Additional details for the status

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/-init-.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/-init-.html new file mode 100644 index 00000000..91760fb1 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/-init-.html @@ -0,0 +1,14 @@ + + + +DefaultContentShareController.<init> - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / DefaultContentShareController / <init>
+
+

<init>

+ +DefaultContentShareController(logger: Logger, contentShareVideoClientController: ContentShareVideoClientController) + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/add-content-share-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/add-content-share-observer.html new file mode 100644 index 00000000..f2e89ef1 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/add-content-share-observer.html @@ -0,0 +1,18 @@ + + + +DefaultContentShareController.addContentShareObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / DefaultContentShareController / addContentShareObserver
+
+

addContentShareObserver

+ +fun addContentShareObserver(observer: ContentShareObserver): Unit +

Subscribe the given observer to content share events (sharing started and stopped).

+

Parameters

+

+observer - : ContentShareObserver - The observer to be notified for events.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/index.html new file mode 100644 index 00000000..4fa6c892 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/index.html @@ -0,0 +1,62 @@ + + + +DefaultContentShareController - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / DefaultContentShareController
+
+

DefaultContentShareController

+class DefaultContentShareController : ContentShareController +

Constructors

+ + + + + + + +
+

<init>

+
+DefaultContentShareController(logger: Logger, contentShareVideoClientController: ContentShareVideoClientController)
+

Functions

+ + + + + + + + + + + + + + + + + + + +
+

addContentShareObserver

+
+

Subscribe the given observer to content share events (sharing started and stopped).

+fun addContentShareObserver(observer: ContentShareObserver): Unit
+

removeContentShareObserver

+
+

Unsubscribe the given observer from content share events.

+fun removeContentShareObserver(observer: ContentShareObserver): Unit
+

startContentShare

+
+

Start sharing the content of a given ContentShareSource.

+fun startContentShare(source: ContentShareSource): Unit
+

stopContentShare

+
+

Stop sharing the content of a ContentShareSource that previously started.

+fun stopContentShare(): Unit
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/remove-content-share-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/remove-content-share-observer.html new file mode 100644 index 00000000..84d76141 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/remove-content-share-observer.html @@ -0,0 +1,18 @@ + + + +DefaultContentShareController.removeContentShareObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / DefaultContentShareController / removeContentShareObserver
+
+

removeContentShareObserver

+ +fun removeContentShareObserver(observer: ContentShareObserver): Unit +

Unsubscribe the given observer from content share events.

+

Parameters

+

+observer - : ContentShareObserver - The observer to be removed for events.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/start-content-share.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/start-content-share.html new file mode 100644 index 00000000..0239d1f4 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/start-content-share.html @@ -0,0 +1,25 @@ + + + +DefaultContentShareController.startContentShare - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / DefaultContentShareController / startContentShare
+
+

startContentShare

+ +fun startContentShare(source: ContentShareSource): Unit +

Start sharing the content of a given ContentShareSource.

+

Once sharing has started successfully, ContentShareObserver.onContentShareStarted will +be invoked. If sharing fails or stops, ContentShareObserver.onContentShareStopped +will be invoked with ContentShareStatus as the cause.

+

This will call VideoSource.addVideoSink on the provided source +and VideoSource.removeVideoSink on the previously provided source.

+

Calling this function repeatedly will replace the previous ContentShareSource as the one being +transmitted.

+

Parameters

+

+source - : ContentShareSource - The source of content to be shared.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/stop-content-share.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/stop-content-share.html new file mode 100644 index 00000000..2fe848e2 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/-default-content-share-controller/stop-content-share.html @@ -0,0 +1,17 @@ + + + +DefaultContentShareController.stopContentShare - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / DefaultContentShareController / stopContentShare
+
+

stopContentShare

+ +fun stopContentShare(): Unit +

Stop sharing the content of a ContentShareSource that previously started.

+

Once the sharing stops successfully, ContentShareObserver.onContentShareStopped +will be invoked with status code ContentShareStatusCode.OK.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/index.html new file mode 100644 index 00000000..57807ac3 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare/index.html @@ -0,0 +1,69 @@ + + + +com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare
+
+

Package com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare

+

Types

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

ContentShareController

+
+

ContentShareController exposes methods for starting and stopping content share with a ContentShareSource. +The content represents a media steam to be shared in the meeting, such as screen capture or +media files. +Read content share guide for details.

+interface ContentShareController
+

ContentShareObserver

+
+

ContentShareObserver handles all callbacks related to the content share. +By implementing the callback functions and registering with ContentShareController.addContentShareObserver, +one can get notified with content share status events.

+interface ContentShareObserver
+

ContentShareSource

+
+

ContentShareSource contains the media sources to attach to the content share

+open class ContentShareSource
+

ContentShareStatus

+
+

ContentShareStatus indicates a status received regarding the content share.

+data class ContentShareStatus
+

ContentShareStatusCode

+
+

ContentShareStatusCode indicates the reason the content share event occurred.

+enum class ContentShareStatusCode
+

DefaultContentShareController

+
+class DefaultContentShareController : ContentShareController
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-bitrate.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-bitrate.html new file mode 100644 index 00000000..3b145faf --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-bitrate.html @@ -0,0 +1,15 @@ + + + +ObservableMetric.contentShareVideoSendBitrate - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.metric / ObservableMetric / contentShareVideoSendBitrate
+
+

contentShareVideoSendBitrate

+ +contentShareVideoSendBitrate +

Sum of total bitrate across all send streams

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-fps.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-fps.html new file mode 100644 index 00000000..357a0eb1 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-fps.html @@ -0,0 +1,15 @@ + + + +ObservableMetric.contentShareVideoSendFps - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.metric / ObservableMetric / contentShareVideoSendFps
+
+

contentShareVideoSendFps

+ +contentShareVideoSendFps +

Average send FPS across all send streams

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-packet-loss-percent.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-packet-loss-percent.html new file mode 100644 index 00000000..b6fd3ef7 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-packet-loss-percent.html @@ -0,0 +1,15 @@ + + + +ObservableMetric.contentShareVideoSendPacketLossPercent - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.metric / ObservableMetric / contentShareVideoSendPacketLossPercent
+
+

contentShareVideoSendPacketLossPercent

+ +contentShareVideoSendPacketLossPercent +

Percentage of video packets lost from client to server across all send streams

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-rtt-ms.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-rtt-ms.html new file mode 100644 index 00000000..7cd509f8 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/content-share-video-send-rtt-ms.html @@ -0,0 +1,15 @@ + + + +ObservableMetric.contentShareVideoSendRttMs - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.metric / ObservableMetric / contentShareVideoSendRttMs
+
+

contentShareVideoSendRttMs

+ +contentShareVideoSendRttMs +

Round trip time of packets sent from client to server

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/index.html index 1bdecfa4..a5854c32 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/index.html @@ -94,6 +94,51 @@

videoReceivePacketLossPerce

Percentage of video packets lost from server to client across all receive streams

+ + +

contentShareVideoSendBitrate

+ + +

Sum of total bitrate across all send streams

+ + + + +

contentShareVideoSendPacketLossPercent

+ + +

Percentage of video packets lost from client to server across all send streams

+ + + + +

contentShareVideoSendFps

+ + +

Average send FPS across all send streams

+ + + + +

contentShareVideoSendRttMs

+ + +

Round trip time of packets sent from client to server

+ + + + +

Functions

+ + + + + +
+

isContentShareMetric

+
+

Determine if the metric is for content share stream

+fun isContentShareMetric(): Boolean
diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/is-content-share-metric.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/is-content-share-metric.html new file mode 100644 index 00000000..96b95b43 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.metric/-observable-metric/is-content-share-metric.html @@ -0,0 +1,15 @@ + + + +ObservableMetric.isContentShareMetric - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.metric / ObservableMetric / isContentShareMetric
+
+

isContentShareMetric

+ +fun isContentShareMetric(): Boolean +

Determine if the metric is for content share stream

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/-init-.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/-init-.html new file mode 100644 index 00000000..dbbf3920 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/-init-.html @@ -0,0 +1,19 @@ + + + +DefaultScreenCaptureSource.<init> - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / <init>
+
+

<init>

+ +DefaultScreenCaptureSource(context: Context, logger: Logger, surfaceTextureCaptureSourceFactory: SurfaceTextureCaptureSourceFactory, activityResultCode: Int, activityData: Intent, displayManager: DisplayManager = context.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager, mediaProjectionManager: MediaProjectionManager = context.getSystemService(MEDIA_PROJECTION_SERVICE) as MediaProjectionManager) +

DefaultScreenCaptureSource uses MediaProjection to create a VirtualDisplay to capture the +device screen. It will render the captured frames to a Surface provided by a SurfaceTextureCaptureSourceFactory.

+

Builders will need to get permission from users to obtain the activityResultCode and activityData arguments, +required to create an internal MediaProjection object. +Read content share guide for more information.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/add-capture-source-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/add-capture-source-observer.html new file mode 100644 index 00000000..ce439e1e --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/add-capture-source-observer.html @@ -0,0 +1,19 @@ + + + +DefaultScreenCaptureSource.addCaptureSourceObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / addCaptureSourceObserver
+
+

addCaptureSourceObserver

+ +fun addCaptureSourceObserver(observer: CaptureSourceObserver): Unit +

Add a capture source observer to receive callbacks from the source on lifecycle events +which can be used to trigger UI. This observer is entirely optional.

+

Parameters

+

+observer - : CaptureSourceObserver - New observer

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/add-video-sink.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/add-video-sink.html new file mode 100644 index 00000000..902eb798 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/add-video-sink.html @@ -0,0 +1,20 @@ + + + +DefaultScreenCaptureSource.addVideoSink - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / addVideoSink
+
+

addVideoSink

+ +fun addVideoSink(sink: VideoSink): Unit +

Add a video sink which will immediately begin to receive new frames.

+

Multiple sinks can be added to a single VideoSource to allow forking of video frames, +e.g. to send to both local preview and AmazonChimeSDKMedia library (for encoding) at the same time.

+

Parameters

+

+sink - : VideoSink - New video sink

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/content-hint.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/content-hint.html new file mode 100644 index 00000000..e44c53e8 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/content-hint.html @@ -0,0 +1,15 @@ + + + +DefaultScreenCaptureSource.contentHint - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / contentHint
+
+

contentHint

+ +val contentHint: VideoContentHint +

Content hint for downstream processing

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/index.html new file mode 100644 index 00000000..7a327f61 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/index.html @@ -0,0 +1,115 @@ + + + +DefaultScreenCaptureSource - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource
+
+

DefaultScreenCaptureSource

+class DefaultScreenCaptureSource : VideoCaptureSource, VideoSink +

DefaultScreenCaptureSource uses MediaProjection to create a VirtualDisplay to capture the +device screen. It will render the captured frames to a Surface provided by a SurfaceTextureCaptureSourceFactory.

+

Builders will need to get permission from users to obtain the activityResultCode and activityData arguments, +required to create an internal MediaProjection object. +Read content share guide for more information.

+

Constructors

+ + + + + + + +
+

<init>

+
+

DefaultScreenCaptureSource uses MediaProjection to create a VirtualDisplay to capture the +device screen. It will render the captured frames to a Surface provided by a SurfaceTextureCaptureSourceFactory.

+DefaultScreenCaptureSource(context: Context, logger: Logger, surfaceTextureCaptureSourceFactory: SurfaceTextureCaptureSourceFactory, activityResultCode: Int, activityData: Intent, displayManager: DisplayManager = context.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager, mediaProjectionManager: MediaProjectionManager = context.getSystemService(MEDIA_PROJECTION_SERVICE) as MediaProjectionManager)
+

Properties

+ + + + + + + +
+

contentHint

+
+

Content hint for downstream processing

+val contentHint: VideoContentHint
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addCaptureSourceObserver

+
+

Add a capture source observer to receive callbacks from the source on lifecycle events +which can be used to trigger UI. This observer is entirely optional.

+fun addCaptureSourceObserver(observer: CaptureSourceObserver): Unit
+

addVideoSink

+
+

Add a video sink which will immediately begin to receive new frames.

+fun addVideoSink(sink: VideoSink): Unit
+

onVideoFrameReceived

+
+

Receive a video frame from some upstream source. +The VideoSink may render, store, process, and forward the frame, among other applications.

+fun onVideoFrameReceived(frame: VideoFrame): Unit
+

release

+
+fun release(): Unit
+

removeCaptureSourceObserver

+
+

Remove a capture source observer

+fun removeCaptureSourceObserver(observer: CaptureSourceObserver): Unit
+

removeVideoSink

+
+

Remove a video sink which will no longer receive new frames on return

+fun removeVideoSink(sink: VideoSink): Unit
+

start

+
+

Start capturing on this source and emitting video frames

+fun start(): Unit
+

stop

+
+

Stop capturing on this source and cease emitting video frames

+fun stop(): Unit
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/on-video-frame-received.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/on-video-frame-received.html new file mode 100644 index 00000000..6bbf86e8 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/on-video-frame-received.html @@ -0,0 +1,19 @@ + + + +DefaultScreenCaptureSource.onVideoFrameReceived - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / onVideoFrameReceived
+
+

onVideoFrameReceived

+ +fun onVideoFrameReceived(frame: VideoFrame): Unit +

Receive a video frame from some upstream source. +The VideoSink may render, store, process, and forward the frame, among other applications.

+

Parameters

+

+frame - : VideoFrame - New video frame to consume

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/release.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/release.html new file mode 100644 index 00000000..55c83bc1 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/release.html @@ -0,0 +1,14 @@ + + + +DefaultScreenCaptureSource.release - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / release
+
+

release

+ +fun release(): Unit + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/remove-capture-source-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/remove-capture-source-observer.html new file mode 100644 index 00000000..b757fda7 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/remove-capture-source-observer.html @@ -0,0 +1,18 @@ + + + +DefaultScreenCaptureSource.removeCaptureSourceObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / removeCaptureSourceObserver
+
+

removeCaptureSourceObserver

+ +fun removeCaptureSourceObserver(observer: CaptureSourceObserver): Unit +

Remove a capture source observer

+

Parameters

+

+observer - : CaptureSourceObserver - Observer to remove

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/remove-video-sink.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/remove-video-sink.html new file mode 100644 index 00000000..1915e475 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/remove-video-sink.html @@ -0,0 +1,18 @@ + + + +DefaultScreenCaptureSource.removeVideoSink - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / removeVideoSink
+
+

removeVideoSink

+ +fun removeVideoSink(sink: VideoSink): Unit +

Remove a video sink which will no longer receive new frames on return

+

Parameters

+

+sink - : VideoSink - Video sink to remove

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/start.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/start.html new file mode 100644 index 00000000..5105e6f3 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/start.html @@ -0,0 +1,15 @@ + + + +DefaultScreenCaptureSource.start - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / start
+
+

start

+ +fun start(): Unit +

Start capturing on this source and emitting video frames

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/stop.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/stop.html new file mode 100644 index 00000000..c4955e53 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-screen-capture-source/stop.html @@ -0,0 +1,15 @@ + + + +DefaultScreenCaptureSource.stop - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / stop
+
+

stop

+ +fun stop(): Unit +

Stop capturing on this source and cease emitting video frames

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-surface-texture-capture-source/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-surface-texture-capture-source/index.html index dc53d58b..4cd8e0cf 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-surface-texture-capture-source/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-surface-texture-capture-source/index.html @@ -38,6 +38,15 @@

contentHint

+

minFps

+ + +

Setting this to a positive value will lead the source to resend previously captured frames +as necessary to approximately maintain the set value.

+var minFps: Int + + +

surface

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-surface-texture-capture-source/min-fps.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-surface-texture-capture-source/min-fps.html new file mode 100644 index 00000000..e94b885d --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-default-surface-texture-capture-source/min-fps.html @@ -0,0 +1,20 @@ + + + +DefaultSurfaceTextureCaptureSource.minFps - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultSurfaceTextureCaptureSource / minFps
+
+

minFps

+ +var minFps: Int +

Setting this to a positive value will lead the source to resend previously captured frames +as necessary to approximately maintain the set value.

+

This is useful for applications like screen capture where the system does not capture when +there is no motion on screen. Continuing to send frames helps the encoder improve the quality +on the receiving end, and also helps mitigate possible issues with downstream frame throttling +dropping frames before the end of an animation.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-surface-texture-capture-source/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-surface-texture-capture-source/index.html index 1b14d962..6b69381b 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-surface-texture-capture-source/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-surface-texture-capture-source/index.html @@ -19,6 +19,15 @@

Properties

+

minFps

+ + +

Setting this to a positive value will lead the source to resend previously captured frames +as necessary to approximately maintain the set value.

+abstract var minFps: Int + + +

surface

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-surface-texture-capture-source/min-fps.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-surface-texture-capture-source/min-fps.html new file mode 100644 index 00000000..c7b318e2 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-surface-texture-capture-source/min-fps.html @@ -0,0 +1,20 @@ + + + +SurfaceTextureCaptureSource.minFps - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / SurfaceTextureCaptureSource / minFps
+
+

minFps

+ +abstract var minFps: Int +

Setting this to a positive value will lead the source to resend previously captured frames +as necessary to approximately maintain the set value.

+

This is useful for applications like screen capture where the system does not capture when +there is no motion on screen. Continuing to send frames helps the encoder improve the quality +on the receiving end, and also helps mitigate possible issues with downstream frame throttling +dropping frames before the end of an animation.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-video-capture-source/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-video-capture-source/index.html index 398ab2b8..d1eaa1e8 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-video-capture-source/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-video-capture-source/index.html @@ -63,6 +63,15 @@

CameraCaptureSource

+

DefaultScreenCaptureSource

+ + +

DefaultScreenCaptureSource uses MediaProjection to create a VirtualDisplay to capture the +device screen. It will render the captured frames to a Surface provided by a SurfaceTextureCaptureSourceFactory.

+class DefaultScreenCaptureSource : VideoCaptureSource, VideoSink + + +

SurfaceTextureCaptureSource

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/index.html index 46aa75e5..fece7d34 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/index.html @@ -49,6 +49,15 @@

DefaultCameraCaptureSour +

DefaultScreenCaptureSource

+ + +

DefaultScreenCaptureSource uses MediaProjection to create a VirtualDisplay to capture the +device screen. It will render the captured frames to a Surface provided by a SurfaceTextureCaptureSourceFactory.

+class DefaultScreenCaptureSource : VideoCaptureSource, VideoSink + + +

DefaultSurfaceTextureCaptureSource

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-sink/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-sink/index.html index 6837a44c..66d2ae7e 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-sink/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-sink/index.html @@ -39,6 +39,15 @@

DefaultScreenCaptureSource

+ + +

DefaultScreenCaptureSource uses MediaProjection to create a VirtualDisplay to capture the +device screen. It will render the captured frames to a Surface provided by a SurfaceTextureCaptureSourceFactory.

+class DefaultScreenCaptureSource : VideoCaptureSource, VideoSink + + +

VideoRenderView

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-tile-controller-facade/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-tile-controller-facade/index.html index fa03ac3c..d2166557 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-tile-controller-facade/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-tile-controller-facade/index.html @@ -74,7 +74,7 @@

Inheritors

AudioVideoFacade

-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade +interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/index.html index 73fc2bc1..fcba5952 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/index.html @@ -108,7 +108,7 @@

Inheritors

AudioVideoFacade

-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade +interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/start-local-video.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/start-local-video.html index 550bffea..cfc0ed4c 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/start-local-video.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-controller-facade/start-local-video.html @@ -21,6 +21,7 @@

startLocalVideo

Calling this function repeatedly will replace the previous VideoSource as the one being transmitted. It will also stop and replace the internal capture source if startLocalVideo was called with no arguments.

+

Read custom video guide for details.

Parameters

source - : VideoSource - The source of video frames to be sent to other clients

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-facade.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-facade.html index 3ae90031..870dd53b 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-facade.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-facade.html @@ -8,7 +8,7 @@ amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / AudioVideoFacade

AudioVideoFacade

-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade +interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController

Inheritors

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-controller/start-local-video.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-controller/start-local-video.html index 059be9e0..b9c1f836 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-controller/start-local-video.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-controller/start-local-video.html @@ -21,6 +21,7 @@

startLocalVideo

Calling this function repeatedly will replace the previous VideoSource as the one being transmitted. It will also stop and replace the internal capture source if startLocalVideo was called with no arguments.

+

Read custom video guide for details.

Parameters

source - : VideoSource - The source of video frames to be sent to other clients

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/-init-.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/-init-.html index 97fcc153..ab598850 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/-init-.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/-init-.html @@ -8,7 +8,7 @@ amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / DefaultAudioVideoFacade / <init>

<init>

- -DefaultAudioVideoFacade(context: Context, audioVideoController: AudioVideoControllerFacade, realtimeController: RealtimeControllerFacade, deviceController: DeviceController, videoTileController: VideoTileController, activeSpeakerDetector: ActiveSpeakerDetectorFacade) + +DefaultAudioVideoFacade(context: Context, audioVideoController: AudioVideoControllerFacade, realtimeController: RealtimeControllerFacade, deviceController: DeviceController, videoTileController: VideoTileController, activeSpeakerDetector: ActiveSpeakerDetectorFacade, contentShareController: ContentShareController) diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/add-content-share-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/add-content-share-observer.html new file mode 100644 index 00000000..2da0d1bd --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/add-content-share-observer.html @@ -0,0 +1,18 @@ + + + +DefaultAudioVideoFacade.addContentShareObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / DefaultAudioVideoFacade / addContentShareObserver
+
+

addContentShareObserver

+ +fun addContentShareObserver(observer: ContentShareObserver): Unit +

Subscribe the given observer to content share events (sharing started and stopped).

+

Parameters

+

+observer - : ContentShareObserver - The observer to be notified for events.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/index.html index b98c0bea..180c8109 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/index.html @@ -17,7 +17,7 @@

Constructors

<init>

+DefaultAudioVideoFacade(context: Context, audioVideoController: AudioVideoControllerFacade, realtimeController: RealtimeControllerFacade, deviceController: DeviceController, videoTileController: VideoTileController, activeSpeakerDetector: ActiveSpeakerDetectorFacade, contentShareController: ContentShareController)
-DefaultAudioVideoFacade(context: Context, audioVideoController: AudioVideoControllerFacade, realtimeController: RealtimeControllerFacade, deviceController: DeviceController, videoTileController: VideoTileController, activeSpeakerDetector: ActiveSpeakerDetectorFacade)
@@ -42,6 +42,14 @@

addAudioVideoObserver

+

addContentShareObserver

+ + +

Subscribe the given observer to content share events (sharing started and stopped).

+fun addContentShareObserver(observer: ContentShareObserver): Unit + + +

addDeviceChangeObserver

@@ -195,6 +203,14 @@

removeAudioVideoObserver

+

removeContentShareObserver

+ + +

Unsubscribe the given observer from content share events.

+fun removeContentShareObserver(observer: ContentShareObserver): Unit + + +

removeDeviceChangeObserver

@@ -251,6 +267,14 @@

start

+

startContentShare

+ + +

Start sharing the content of a given ContentShareSource.

+fun startContentShare(source: ContentShareSource): Unit + + +

startLocalVideo

@@ -279,6 +303,14 @@

stop

+

stopContentShare

+ + +

Stop sharing the content of a ContentShareSource that previously started.

+fun stopContentShare(): Unit + + +

stopLocalVideo

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/remove-content-share-observer.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/remove-content-share-observer.html new file mode 100644 index 00000000..cd3cc172 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/remove-content-share-observer.html @@ -0,0 +1,18 @@ + + + +DefaultAudioVideoFacade.removeContentShareObserver - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / DefaultAudioVideoFacade / removeContentShareObserver
+
+

removeContentShareObserver

+ +fun removeContentShareObserver(observer: ContentShareObserver): Unit +

Unsubscribe the given observer from content share events.

+

Parameters

+

+observer - : ContentShareObserver - The observer to be removed for events.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/start-content-share.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/start-content-share.html new file mode 100644 index 00000000..45ce4a7e --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/start-content-share.html @@ -0,0 +1,25 @@ + + + +DefaultAudioVideoFacade.startContentShare - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / DefaultAudioVideoFacade / startContentShare
+
+

startContentShare

+ +fun startContentShare(source: ContentShareSource): Unit +

Start sharing the content of a given ContentShareSource.

+

Once sharing has started successfully, ContentShareObserver.onContentShareStarted will +be invoked. If sharing fails or stops, ContentShareObserver.onContentShareStopped +will be invoked with ContentShareStatus as the cause.

+

This will call VideoSource.addVideoSink on the provided source +and VideoSource.removeVideoSink on the previously provided source.

+

Calling this function repeatedly will replace the previous ContentShareSource as the one being +transmitted.

+

Parameters

+

+source - : ContentShareSource - The source of content to be shared.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/start-local-video.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/start-local-video.html index aea7cf20..5ec562a1 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/start-local-video.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/start-local-video.html @@ -21,6 +21,7 @@

startLocalVideo

Calling this function repeatedly will replace the previous VideoSource as the one being transmitted. It will also stop and replace the internal capture source if startLocalVideo was called with no arguments.

+

Read custom video guide for details.

Parameters

source - : VideoSource - The source of video frames to be sent to other clients

diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/stop-content-share.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/stop-content-share.html new file mode 100644 index 00000000..4119e55e --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/-default-audio-video-facade/stop-content-share.html @@ -0,0 +1,17 @@ + + + +DefaultAudioVideoFacade.stopContentShare - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / DefaultAudioVideoFacade / stopContentShare
+
+

stopContentShare

+ +fun stopContentShare(): Unit +

Stop sharing the content of a ContentShareSource that previously started.

+

Once the sharing stops successfully, ContentShareObserver.onContentShareStopped +will be invoked with status code ContentShareStatusCode.OK.

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/index.html index 2b68344a..accc3e0d 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.audiovideo/index.html @@ -31,7 +31,7 @@

AudioVideoControllerFaca

AudioVideoFacade

-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade +interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.device/-device-controller/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.device/-device-controller/index.html index 60ec6e5c..36c6de35 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.device/-device-controller/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.device/-device-controller/index.html @@ -85,7 +85,7 @@

Inheritors

AudioVideoFacade

-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade +interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.realtime/-realtime-controller-facade/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.realtime/-realtime-controller-facade/index.html index 9f1fb49a..a052cd18 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.realtime/-realtime-controller-facade/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.realtime/-realtime-controller-facade/index.html @@ -109,7 +109,7 @@

Inheritors

AudioVideoFacade

-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade +interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.session/-meeting-session-configuration/create-content-share-meeting-session-configuration.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.session/-meeting-session-configuration/create-content-share-meeting-session-configuration.html new file mode 100644 index 00000000..26b41b5a --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.session/-meeting-session-configuration/create-content-share-meeting-session-configuration.html @@ -0,0 +1,14 @@ + + + +MeetingSessionConfiguration.createContentShareMeetingSessionConfiguration - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.session / MeetingSessionConfiguration / createContentShareMeetingSessionConfiguration
+
+

createContentShareMeetingSessionConfiguration

+ +fun createContentShareMeetingSessionConfiguration(): MeetingSessionConfiguration + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.session/-meeting-session-configuration/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.session/-meeting-session-configuration/index.html index d917fae3..c4e11ab7 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.session/-meeting-session-configuration/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.session/-meeting-session-configuration/index.html @@ -55,5 +55,17 @@

urls

+

Functions

+ + + + + + + +
+

createContentShareMeetingSessionConfiguration

+
+fun createContentShareMeetingSessionConfiguration(): MeetingSessionConfiguration
diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/-init-.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/-init-.html new file mode 100644 index 00000000..08cb6b89 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/-init-.html @@ -0,0 +1,24 @@ + + + +DefaultModality.<init> - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality / <init>
+
+

<init>

+ +DefaultModality(id: String) +

DefaultModality is a backwards compatible extension of the +attendee id (UUID string) and session token schemas (base 64 string). +It appends # to either strings, which indicates the modality +of the participant.

+

For example, +attendeeId: "abcdefg" +contentAttendeeId: "abcdefg#content" +base(contentAttendeeId): "abcdefg" +modality(contentAttendeeId): "content" +hasModality(contentAttendeeId): true

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/-m-o-d-a-l-i-t-y_-s-e-p-a-r-a-t-o-r.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/-m-o-d-a-l-i-t-y_-s-e-p-a-r-a-t-o-r.html new file mode 100644 index 00000000..de697061 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/-m-o-d-a-l-i-t-y_-s-e-p-a-r-a-t-o-r.html @@ -0,0 +1,14 @@ + + + +DefaultModality.MODALITY_SEPARATOR - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality / MODALITY_SEPARATOR
+
+

MODALITY_SEPARATOR

+ +const val MODALITY_SEPARATOR: String + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/base.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/base.html new file mode 100644 index 00000000..8e615866 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/base.html @@ -0,0 +1,15 @@ + + + +DefaultModality.base - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality / base
+
+

base

+ +fun base(): String +

The base of the Id

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/has-modality.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/has-modality.html new file mode 100644 index 00000000..104d1c97 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/has-modality.html @@ -0,0 +1,15 @@ + + + +DefaultModality.hasModality - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality / hasModality
+
+

hasModality

+ +fun hasModality(modality: ModalityType): Boolean +

Check whether the current Id contains the input modality

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/id.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/id.html new file mode 100644 index 00000000..589880e8 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/id.html @@ -0,0 +1,15 @@ + + + +DefaultModality.id - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality / id
+
+

id

+ +fun id(): String +

The Id

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/index.html new file mode 100644 index 00000000..7c47d0d1 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/index.html @@ -0,0 +1,88 @@ + + + +DefaultModality - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality
+
+

DefaultModality

+class DefaultModality +

DefaultModality is a backwards compatible extension of the +attendee id (UUID string) and session token schemas (base 64 string). +It appends # to either strings, which indicates the modality +of the participant.

+

For example, +attendeeId: "abcdefg" +contentAttendeeId: "abcdefg#content" +base(contentAttendeeId): "abcdefg" +modality(contentAttendeeId): "content" +hasModality(contentAttendeeId): true

+

Constructors

+ + + + + + + +
+

<init>

+
+

DefaultModality is a backwards compatible extension of the +attendee id (UUID string) and session token schemas (base 64 string). +It appends # to either strings, which indicates the modality +of the participant.

+DefaultModality(id: String)
+

Functions

+ + + + + + + + + + + + + + + + + + + +
+

base

+
+

The base of the Id

+fun base(): String
+

hasModality

+
+

Check whether the current Id contains the input modality

+fun hasModality(modality: ModalityType): Boolean
+

id

+
+

The Id

+fun id(): String
+

modality

+
+

The modality of the Id

+fun modality(): ModalityType?
+

Companion Object Properties

+ + + + + + + +
+

MODALITY_SEPARATOR

+
+const val MODALITY_SEPARATOR: String
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/modality.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/modality.html new file mode 100644 index 00000000..f863cf89 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-default-modality/modality.html @@ -0,0 +1,15 @@ + + + +DefaultModality.modality - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality / modality
+
+

modality

+ +fun modality(): ModalityType? +

The modality of the Id

+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/-content.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/-content.html new file mode 100644 index 00000000..e82e2911 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/-content.html @@ -0,0 +1,14 @@ + + + +ModalityType.Content - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / ModalityType / Content
+
+

Content

+ +Content + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/from-value.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/from-value.html new file mode 100644 index 00000000..769d6a63 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/from-value.html @@ -0,0 +1,14 @@ + + + +ModalityType.fromValue - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / ModalityType / fromValue
+
+

fromValue

+ +fun fromValue(value: String): ModalityType? + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/index.html new file mode 100644 index 00000000..4fdb1d8b --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/index.html @@ -0,0 +1,49 @@ + + + +ModalityType - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / ModalityType
+
+

ModalityType

+enum class ModalityType +

Enum Values

+ + + + + + + +
+

Content

+
+
+

Properties

+ + + + + + + +
+

value

+
+val value: String
+

Companion Object Functions

+ + + + + + + +
+

fromValue

+
+fun fromValue(value: String): ModalityType?
+ + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/value.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/value.html new file mode 100644 index 00000000..000fec46 --- /dev/null +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/-modality-type/value.html @@ -0,0 +1,14 @@ + + + +ModalityType.value - amazon-chime-sdk + + + +amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / ModalityType / value
+
+

value

+ +val value: String + + diff --git a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/index.html b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/index.html index 1e1f5992..28aea1aa 100644 --- a/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/index.html +++ b/docs/amazon-chime-sdk/com.amazonaws.services.chime.sdk.meetings.utils/index.html @@ -13,6 +13,24 @@

Types

+

DefaultModality

+ + +

DefaultModality is a backwards compatible extension of the +attendee id (UUID string) and session token schemas (base 64 string). +It appends # to either strings, which indicates the modality +of the participant.

+class DefaultModality + + + +

ModalityType

+ + +enum class ModalityType + + +

RefCountDelegate

diff --git a/docs/amazon-chime-sdk/index-outline.html b/docs/amazon-chime-sdk/index-outline.html index d74069ac..e1339659 100644 --- a/docs/amazon-chime-sdk/index-outline.html +++ b/docs/amazon-chime-sdk/index-outline.html @@ -119,7 +119,7 @@ -interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade
+interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController
interface AudioVideoObserver
+interface ContentShareController
+ +interface ContentShareObserver
+ +open class ContentShareSource
+ +data class ContentShareStatus
+ +enum class ContentShareStatusCode
+ data class CreateAttendeeResponse
+class DefaultContentShareController : ContentShareController
+ class DefaultDeviceController : DeviceController
+class DefaultModality
+ class DefaultRealtimeController : RealtimeControllerFacade
+class DefaultScreenCaptureSource : VideoCaptureSource, VideoSink
+ class DefaultSurfaceTextureCaptureSource : SurfaceTextureCaptureSource
+enum class ModalityType
+ enum class ObservableMetric
-interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade
+interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController
interface AudioVideoObserver
+package com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare
+ package com.amazonaws.services.chime.sdk.meetings.audiovideo.metric
+class DefaultScreenCaptureSource : VideoCaptureSource, VideoSink
+ class DefaultSurfaceTextureCaptureSource : SurfaceTextureCaptureSource