awslabs / amazon-kinesis-video-streams-webrtc-sdk-c

Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams.
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-c/group__PublicMemberFunctions.html
Apache License 2.0
1.01k stars 304 forks source link

[QUESTION] sessionCleanupWait #1029

Closed juanea closed 3 years ago

juanea commented 3 years ago

What is sessionCleanupWait doing in the /kvsWebRTCClientMasterGstreamerSample.c? In your latest master it is removed from kvsWebRTCClientMaster.c, Why?

The moment you call sessionCleanupWait in an application similar to kvsWebRTCClientMasterGstreamerSample.c it does not get out of it.

disa6302 commented 3 years ago

@juanea ,

I am not sure what you mean? sessionCleanupWait() does exist in kvsWebRTCClientMaster.c. Check https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/blob/a0916241494a9e075ebd880a9f276064855eac77/samples/kvsWebRTCClientMaster.c#L97

As seen in this function, what it does is terminate streaming sessions and set up signaling client connection if signaling moves to ready state after terminating sessions.

Have you tried the stock master sample? Does it get stuck in the stock master application? Do you have any changes in your application?

Please include more details.

hassanctech commented 3 years ago

Assuming the question was answered, resolving. If you still need help please re-open.