差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
后一修订版 两侧同时换到之后的修订记录
im:other:integrationcases:tc [2019/07/01 08:25]
jk [下麦、销毁房间]
im:other:integrationcases:tc [2020/03/27 07:38]
huanxinfudh [创建语聊房间]
行 1: 行 1:
-====== 语音连麦聊天室 ======+====== 语音连麦聊天室集成介绍 ​======
  
 ---- ----
行 89: 行 89:
 ^步骤 ​                                 ^%%iOS API%%  ^%%Android API%%^ ^步骤 ​                                 ^%%iOS API%%  ^%%Android API%%^
 |1.创建语聊房间 ​                        ​|%%AppServer API%%|| |1.创建语聊房间 ​                        ​|%%AppServer API%%||
-|2.[[im:​server:​basics:​conferencemanage#​创建会议| 创建conference]] |%%AppServer API http://a1-hsb.easemob.com/​{orgname}/​{appname}/​conferences POST%%||+|2.[[im:​server:​basics:​conferencemanage#​创建会议| 创建conference]] |%%AppServer API http://​a1.easemob.com/​{orgname}/​{appname}/​conferences POST%%||
 |3.创建 chatroom ​                      ​|%%AppServer API  http://​a1.easemob.com/​{orgname}/​{appname}/​chatrooms POST%%|| |3.创建 chatroom ​                      ​|%%AppServer API  http://​a1.easemob.com/​{orgname}/​{appname}/​chatrooms POST%%||
 |4.创建成功返回conference ID,chatroom ID|%%AppServer API%%|| |4.创建成功返回conference ID,chatroom ID|%%AppServer API%%||
行 112: 行 112:
 |2.加入 conference ​                     |[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_conference_manager-p.html#​a465bd08db130e2d10d9bf0d418871bac|EMClient.sharedClient.conferenceManager joinConferenceWithConfId:​ password: completion:​]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceManager.html#​aa04a85ab5f36f3f4ac14dc23ac18afb8|EMClient.getInstance().conferenceManager().joinConference(conferenceId,​ password, callback);​]]| |2.加入 conference ​                     |[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_conference_manager-p.html#​a465bd08db130e2d10d9bf0d418871bac|EMClient.sharedClient.conferenceManager joinConferenceWithConfId:​ password: completion:​]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMConferenceManager.html#​aa04a85ab5f36f3f4ac14dc23ac18afb8|EMClient.getInstance().conferenceManager().joinConference(conferenceId,​ password, callback);​]]|
 |3.加入 chatroom ​                       |[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_chatroom_manager-p.html#​a4091826df825b9f1825f2ea97c4fb3e2|EMClient.sharedClient.roomManager joinChatroom:​ completion:​]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMChatRoomManager.html#​af2d592b0801dbc333c0c60bd551e150d|EMClient.getInstance().chatroomManager().joinChatRoom(chatRoomId,​ callback);​]]| |3.加入 chatroom ​                       |[[http://​www.easemob.com/​apidoc/​ios/​chat3.0/​protocol_i_e_m_chatroom_manager-p.html#​a4091826df825b9f1825f2ea97c4fb3e2|EMClient.sharedClient.roomManager joinChatroom:​ completion:​]]|[[http://​www.easemob.com/​apidoc/​android/​chat3.0/​classcom_1_1hyphenate_1_1chat_1_1EMChatRoomManager.html#​af2d592b0801dbc333c0c60bd551e150d|EMClient.getInstance().chatroomManager().joinChatRoom(chatRoomId,​ callback);​]]|
-|4.同步会议属性|EMConferenceManagerDelegate#​-conferenceAttributeUpdated:​attributes:​|EMConferenceListener#​onAttributesUpdated(attributes);​|+|4.同步会议属性|[[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);​]]|
  
 ---- ----
行 163: 行 163:
 本地混音是指将几种不同的声音在发送端混在一起。例如常见的K歌场景,就需要将人唱歌的声音和歌曲的背景音乐进行混音处理。所以,在实现了基本的连麦功能后,我们还需要增加背景音乐的混音、播放控制。 本地混音是指将几种不同的声音在发送端混在一起。例如常见的K歌场景,就需要将人唱歌的声音和歌曲的背景音乐进行混音处理。所以,在实现了基本的连麦功能后,我们还需要增加背景音乐的混音、播放控制。
  
-在这里,主播可以在自己的客户端上选择要播放的音乐,然后通过 SDK 的 startAudioMixing 接口在本地与主播语音混音后播放给连麦听众和普通听众。并且连麦语音与背景音乐播放互干扰,帮助用户活跃房间内的气氛。在默认情况下,背景音乐是循环播放的。+在这里,主播可以在自己的客户端上选择要播放的音乐,然后通过 SDK 的 startAudioMixing 接口在本地与主播语音混音后播放给连麦听众和普通听众。并且连麦语音与背景音乐播放互干扰,帮助用户活跃房间内的气氛。在默认情况下,背景音乐是循环播放的。
  
 有些开发者希望以语音社交切入泛娱乐市场,也有一些市场上的视频社交玩家,希望加入语音聊天室,来进一步拓展市场版图。由于该场景方案是基于环信音视频 SDK 实现,可以同时满足以上两种需求。 有些开发者希望以语音社交切入泛娱乐市场,也有一些市场上的视频社交玩家,希望加入语音聊天室,来进一步拓展市场版图。由于该场景方案是基于环信音视频 SDK 实现,可以同时满足以上两种需求。