Commit f7adb9a8 authored by chenweijian's avatar chenweijian

trtc

parent 55f05c88
......@@ -173,6 +173,7 @@ func (s *GroupService) GroupIn(userId uint64, externalId string, groupUuid strin
return err
}
if provider == group_e.GroupProvider_TRTC {
channelId = groupInfo.ChannelId
token = trtc.CreateGroupTRTCUserSig(userId)
} else {
channelId, token, err = agora.CreateGroupAgora(groupInfo.ChannelId, uint32(userId))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment