-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: migration rtm to 2.1.7 * fix: enable setup rtm channel type for rtmmanager * feat: add local mic seat service & add local enterseat func * feat: add all local micseat set meta data * fix: add receipt * feat: release the lock when room will destroy * fix: fix presence reset when timeout to rejoined * fix: add @objc to protocol * feat: add interaction handler to increase interaction between services * feat: update music local service * fix: remove custom log path * fix: remove logs * fix: remove "releasetime" in song model * feat: add chorus local service * fix: create room to setup metadata * feat: remove AUIiCreateRoomInfo * fix: try acquire lock if release lock by any one * fix: leave room to clean user info * feat: add more interactionHandler * fix: remove interaction of service * refactor: rename class * feat: add more func to aui arbiter * fix: minor changes * perf: add batch set metadata & refactor service interaction * style: copy xxx local service to xxx service * refactor: remove roommanager * refactor: batch remove metadata * style: rename protocol function * feat: add debug generate token closure * fix: use message channel type & remove unused roominfo param & fix dispatch value change incorrect * refactor: migration model & function * refactor: new create room/get room/destroy room * perf: remove unused token & remove join stream channel * perf: update benchmark * style: update error type * fix: add timerout when receipt no response * feat: add timerout for throttler * feat: add local gift list json file & parse * [Android]Update rtm version to v217 and adjust room controller. * [Android]Complete lock logic and etc. * [Android]Complete lock logic and etc. * [Android]Perfect mic seat controller and etc. * [Android]Perfect room and mic seat service and etc. * [Android]Perfect choose song logic and etc. * [Android]Perfect chorus logic and etc. * [Android]Perfect gift logic and etc. * [Android]Fix create room anr. * [Android]Fix room destory info bug and etc. * [Android]Fix audience choose song bug and etc. * fix: remove lock incorrect * feat: migration channel message to user message * [Android]Change rtm channel message to user p2p message. * perf: migration ktvapi * [Android]Update room and channel name config and etc. * fix: revert channel message * feat: add map/list collection * fix: send receipt incorrect * feature: add merge type * fix: fix build fail * fix: merge permission fixed * fix: clean metadata when destroy room fixed * fix: update list collection * fix: add clean type * feat: add new property(sceneKey ) * feat: music/chorus service using list collection * feat: add subscribe metadata closure * feat: add calc metadata * fix: leave seat user id incorrect * refactor: collection model * fix: cmd incorrect * fix: receipt incorrect when set list collection metadata * fix: add subscribe calc closure * refactor: add base collection * fix: remove music service filter(userId == xxx) * [Android]Add map collection. * [Android]Fix map collection problem. * [Android]Add list collection and fix bugs. * fix: sort music incorrect * feat: add meta data will set closure & music sort * fix: main thread check * refactor: remove unused net work model * fix: filter match bug fixed * [Android]Update chorus service with list collection and fix bugs. * fix: minor changes * [Android]Perfect collection codes and fix some bugs. * fix: add AUIAttributesModel * fix: missing filter * [Android]Add collection calculate method and etc. * [Android]Change collection attribute callback model to AUIAttributesModel. * feat: migration im service * [Android]Add chat room create interface, adjust chat logic and etc. * fix: chat id validation * fix: receipt time out fixed * fix: cleanUserInfo to remove all chorus info * fix: chorus filter fixed * feat: add collection operation error code * [Android]1.Fix lock owner empty callback bug;2.Fix mic seat operations bug; * [Android]1.Fix music player voice conversion bug;2.Fix user snapshot bug. * [Android]Fix chorus tag bug. * [Android]Adjust rtm publish timeout to 1000ms. * [Android]perfect chorus code. * style: minor changes func format * fix: If it is the lock owner, fetch the metadata when recv the lock * fix: im token reques bug fixed * [Android]1.Perfect collection with error code;2.Fetch metadata when arbiter changing;3.Toast error message in ui. * fix: recv lock bug fixed * [Android]Fix audience with lock exit bug. * docs: update readme * docs: update changelog * docs: update readme * docs: update change log * Dev/local service p2p (#121) * docs: update readme * docs: update changelog * docs: update readme * docs: update change log * fix: podspec fixed * fix: rtc sdk limited version range * [Android]Fix bugs. * [Android]Fix app compile problems. * [Android]Perfect invitation logic and fix bugs. * [Android]commit leak file. * [Android]fix app demo bug. * docs: update changelog * fix: example podfile fixed --------- Co-authored-by: wushengtao <[email protected]> Co-authored-by: sync2gitee <[email protected]>
- Loading branch information
1 parent
1c686a7
commit 7d97b85
Showing
147 changed files
with
9,675 additions
and
4,881 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
Android/auikit-service/src/main/java/io/agora/auikit/model/AUIInvitationInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package io.agora.auikit.model; | ||
|
||
import androidx.annotation.IntDef; | ||
import androidx.annotation.NonNull; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
public class AUIInvitationInfo { | ||
@IntDef({ | ||
AUIInvitationType.Apply, | ||
AUIInvitationType.Invite, | ||
}) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Target(ElementType.FIELD) | ||
public @interface AUIInvitationType{ | ||
int Apply = 1; // 观众申请 | ||
int Invite = 2; // 主播邀请 | ||
} | ||
|
||
@IntDef({ | ||
AUIInvitationStatus.Waiting, | ||
AUIInvitationStatus.Accept, | ||
AUIInvitationStatus.Reject, | ||
AUIInvitationStatus.Timeout, | ||
}) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Target(ElementType.FIELD) | ||
public @interface AUIInvitationStatus{ | ||
int Waiting = 1; // 等待确认 | ||
int Accept = 2; // 同意 | ||
int Reject = 3; // 拒绝 | ||
int Timeout = 4; // 超时 | ||
} | ||
|
||
// 申请观众userId,被邀请观众userId | ||
public @NonNull String userId = ""; | ||
|
||
// 麦位位置 | ||
public int seatNo = 0; | ||
|
||
// 类型,申请 or 邀请 | ||
public @AUIInvitationType int type = AUIInvitationType.Apply; | ||
|
||
public @AUIInvitationStatus int status = AUIInvitationStatus.Waiting; | ||
|
||
} |
10 changes: 0 additions & 10 deletions
10
Android/auikit-service/src/main/java/io/agora/auikit/model/AUIInviteInfo.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.