差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
im:other:integrationcases:robmic [2019/06/12 12:40]
jk
im:other:integrationcases:robmic [2019/07/01 10:18] (当前版本)
jk
行 21: 行 21:
 我们可以通过一张图,来了解抢麦模式中接口的调用逻辑: 我们可以通过一张图,来了解抢麦模式中接口的调用逻辑:
  
-{{:​im:​other:​integrationcases:​抢麦1.png?​nolink|}}+{{:​im:​other:​integrationcases:​抢麦模式1.png?​nolink|}}
  
 上图中每步涉及到的 iOS/Android 接口如下,其中部分调用到了 AppServer 的接口,开发者需要自己实现 AppServer 功能 上图中每步涉及到的 iOS/Android 接口如下,其中部分调用到了 AppServer 的接口,开发者需要自己实现 AppServer 功能
  
 ^步骤^%%iOS API%%^%%Android API%%^ ^步骤^%%iOS API%%^%%Android API%%^
-|1.设置抢麦会议属性|EMClient.sharedClient.conferenceManager setConferenceAttribute:​ value: completion:​ |EMClient.getInstance().conferenceManager().setConferenceAttribute(key,​ value, callback);​| +|1.设置抢麦会议属性|[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_conference_manager-p.html#​a7e29cc54c08e9cab13a3b58df89eea80|EMClient.sharedClient.conferenceManager setConferenceAttribute:​ value: completion:​ ]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceManager.html#​a785be01c2f30dbe661fb91c9c8cac7a9|EMClient.getInstance().conferenceManager().setConferenceAttribute(key,​ value, callback);]]
-|2.广播抢麦会议属性|EMConferenceManagerDelegate#​-conferenceAttributeUpdated:​attributes:​ |EMConferenceListener#​onAttributesUpdated(attributes);​| +|2.广播抢麦会议属性|[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_e_m_conference_manager_delegate-p.html|EMConferenceManagerDelegate#​-conferenceAttributeUpdated:​attributes:​]] |[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceAttribute.html|EMConferenceListener#​onAttributesUpdated(attributes);​]]
-|3.主播向发起抢麦请求|%%AppServer API%%||+|3.主播向AppServer发起抢麦请求|%%AppServer API%%||
 |4.返回抢麦成功结果|%%AppServer ​ API%%|| |4.返回抢麦成功结果|%%AppServer ​ API%%||
-|5.主播改变会议属性|EMClient.sharedClient.conferenceManager setConferenceAttribute:​ value: completion:​ |EMClient.getInstance().conferenceManager().setConferenceAttribute(key,​ value, callback);​| +|5.主播改变会议属性|[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_conference_manager-p.html#​a7e29cc54c08e9cab13a3b58df89eea80|EMClient.sharedClient.conferenceManager setConferenceAttribute:​ value: completion:​ ]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceManager.html#​a785be01c2f30dbe661fb91c9c8cac7a9|EMClient.getInstance().conferenceManager().setConferenceAttribute(key,​ value, callback);]]
-|6.广播会议属性|EMConferenceManagerDelegate#​-conferenceAttributeUpdated:​attributes:​ |EMConferenceListener#​onAttributesUpdated(attributes);​| +|6.广播会议属性|[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_e_m_conference_manager_delegate-p.html|EMConferenceManagerDelegate#​-conferenceAttributeUpdated:​attributes:​]] |[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceAttribute.html|EMConferenceListener#​onAttributesUpdated(attributes);​]]
-|7.抢麦者说话,其他人闭麦|EMClient.sharedClient.conferenceManager updateConference:​ isMute:​ |EMClient.getInstance().conferenceManager().openVoiceTransfer();​EMClient.getInstance().conferenceManager().closeVoiceTransfer();​| +|7.抢麦者说话,其他人闭麦|[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_conference_manager-p.html#​abc3d1658875a99bdd1f5f1158a74e789|EMClient.sharedClient.conferenceManager updateConference:​ isMute:]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceManager.html#​a7b4bd022d9daf8fe127d89494897bf99|EMClient.getInstance().conferenceManager().openVoiceTransfer();​EMClient.getInstance().conferenceManager().closeVoiceTransfer();​]]
-|8.释放麦,改变会议属性|EMClient.sharedClient.conferenceManager setConferenceAttribute:​ value: completion:​ |EMClient.getInstance().conferenceManager().setConferenceAttribute(key,​ value, callback);​| +|8.释放麦,改变会议属性|[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_conference_manager-p.html#​a7e29cc54c08e9cab13a3b58df89eea80|EMClient.sharedClient.conferenceManager setConferenceAttribute:​ value: completion:​ ]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceManager.html#​a785be01c2f30dbe661fb91c9c8cac7a9|EMClient.getInstance().conferenceManager().setConferenceAttribute(key,​ value, callback);]]
-|9.广播会议属性|EMConferenceManagerDelegate#​-conferenceAttributeUpdated:​attributes:​ |EMConferenceListener#​onAttributesUpdated(attributes);​|+|9.广播会议属性|[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_e_m_conference_manager_delegate-p.html|EMConferenceManagerDelegate#​-conferenceAttributeUpdated:​attributes:​]] |[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceAttribute.html|EMConferenceListener#​onAttributesUpdated(attributes);​]]| 
  
 基于语音聊天室的抢麦玩法,不止音遇这一种玩法,还有更多想象的空间,开发者可基于环信解决方案衍生出更多玩法。 基于语音聊天室的抢麦玩法,不止音遇这一种玩法,还有更多想象的空间,开发者可基于环信解决方案衍生出更多玩法。