JoinStorageSession
Source:
src/AWS/KinesisVideo/JoinStorageSession.ts
Runtime binding for kinesisvideo:JoinStorageSession (WebRTC storage
data plane).
Bind this operation to a SignalingChannel inside a function runtime to
get a callable that resolves the per-channel WEBRTC storage endpoint
(GetSignalingChannelEndpoint) and joins the ongoing WebRTC session as
the video-producing master so the media is recorded into the channel’s
associated Kinesis Video stream.
Requires the channel’s media storage to be configured (an ENABLED
MediaStorageConfiguration linking the channel to a stream); without it
the endpoint discovery fails with the typed SignalingEndpointUnavailable
error.
WebRTC Storage
Section titled “WebRTC Storage”// initconst joinStorage = yield* AWS.KinesisVideo.JoinStorageSession(channel);
// runtimeyield* joinStorage();