这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@hiroshihorie
Copy link
Member

With this change, mute/unmute will not switch audio category just like Swift SDK.
Un-publishing local audio track will stop the mic indicator.

Copy link
Contributor

@davidliu davidliu left a comment

Choose a reason for hiding this comment

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

LGTM, just some naming changes suggested.


@internal
@mustCallSuper
Future<bool> publish() async {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should rename to onPublish() just to be clear that this doesn't actually do the track publishing itself.

Copy link
Member Author

Choose a reason for hiding this comment

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

i agree !


@internal
@mustCallSuper
Future<bool> unpublish() async {
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to onUnpublish()

@hiroshihorie hiroshihorie merged commit 84b9ef1 into main Apr 7, 2022
@hiroshihorie hiroshihorie deleted the change-audiosession-switch branch April 7, 2022 16:58
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.

3 participants