Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mobile SDK MeetingSessionStatusCode handling to FAQ #2890

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

georgezy-amzn
Copy link
Contributor

Issue #:

Description of changes:

Added 3 topics to FAQ related to mobile MeetingSessionStatusCode:

  • What does each MeetingSessionStatusCode mean?
  • How should I handle each MeetingSessionStatusCode in my application?
  • How to determine if the meeting session stop will be self-recoverable or terminal?

Testing:

Can these tested using a demo application? Please provide reproducible step-by-step instructions.

Checklist:

  1. Have you successfully run npm run build:release locally?

  2. Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?

  3. Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@georgezy-amzn georgezy-amzn requested a review from a team as a code owner May 3, 2024 23:25
@@ -78,6 +78,11 @@
- [How can I speed up my meeting join times?](#how-can-i-speed-up-my-meeting-join-times)
- [Messaging](#messaging)
- [How do I receive Amazon Chime SDK channel messages without using the Amazon Chime SDK for JavaScript?](#how-do-i-receive-amazon-chime-sdk-channel-messages-without-using-the-amazon-chime-sdk-for-javascript)
- [Mobile SDK](#mobile-sdk)
- [What does each MeetingSessionStatusCode mean?](#what-does-each-meetingsessionstatuscode-mean)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Lets backtick the coding naming constructs. For example: MeetingSessionStatusCode here. I see you are using it in some places but suggest to do this overall for consistency.

- [Mobile SDK](#mobile-sdk)
- [What does each MeetingSessionStatusCode mean?](#what-does-each-meetingsessionstatuscode-mean)
- [How should I handle each MeetingSessionStatusCode in my application?](#how-should-i-handle-each-meetingsessionstatuscode-in-my-application)
- [How to determine if the meeting session stop will be self-recoverable or terminal?](#how-to-determine-if-the-meeting-session-stop-will-be-self-recoverable-or-terminal)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the -> a meeting session

| MeetingSessionStatusCode | Callbacks | How to handle |
| -------- | ------- | ------- |
| OK(iOS/Android) | `audioSessionDidStopWithStatus(MeetingSessionStatus)` `videoSessionDidStartWithStatus(MeetingSessionStatus)` `videoSessionDidStopWithStatus(MeetingSessionStatus)` | This code indicates the audio/video sessions on the device have been started/stopped without any errors. When received from AudioVideoObserver callbacks, your application may want to notify your user about the success of session start/stop.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • We can probably call out why specific codes are present in Android vs iOS SDK for example the Left one for builder clarification.
  • Probably you may have done so, but, suggest checking the reasoning once with the JS SDK statuses as well and if we need any changes for consistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have enough info to tell why there are discrepancies between iOS and Android, we just want to document what we have at this moment. There is a backlog to investigate and improve those codes.

@devalevenkatesh
Copy link
Contributor

You need to run the npm run build:release to update and generate the HTML docs as well to get the "Continuous Integration Workflow / Build and Run Unit Tests" passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants