You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.
Hello,
We are using the code from this source and found that inputstream.close() blocks if we try to close it during in-progress media streaming.
GetMediaResult getMediaResult = amazonKinesisVideoMedia.getMedia(new GetMediaRequest()
.withStreamName(streamName)
.withStartSelector(startSelector));
InputStream inputStream = getMediaResult.getPayload();
inputStream .close(); //This will block if the media is still streaming in KVS
This inputstream closing is same as that of KVSTranscribeStreamingLambda (line 274 - kvsStreamTrackObject.getInputStream().close();)
Please suggest how we can resolve this issue.
Regards,
Parvinder
The text was updated successfully, but these errors were encountered: