Versions in this module Expand all Collapse all v7 v7.8.2 Jan 25, 2021 Changes in this version + var RtcHost = "rtc.qiniuapi.com" + type App struct + AppID string + CreatedAt time.Time + MergePublishRtmp MergePublishRtmp + UpdatedAt time.Time + type AppInitConf struct + Hub string + MaxUsers int + NoAutoKickUser bool + Title string + type AppUpdateInfo struct + Hub *string + MaxUsers *int + MergePublishRtmp *MergePublishRtmpInfo + NoAutoKickUser *bool + Title *string + type Manager struct + func NewManager(mac *auth.Credentials) *Manager + func (r *Manager) CreateApp(appReq AppInitConf) (App, error) + func (r *Manager) DeleteApp(appID string) error + func (r *Manager) GetApp(appID string) (App, error) + func (r *Manager) GetRoomToken(roomAccess RoomAccess) (token string, err error) + func (r *Manager) KickUser(appID, roomName, userID string) error + func (r *Manager) ListActiveRooms(appID, roomNamePrefix string, offset, limit int) (RoomQuery, error) + func (r *Manager) ListAllActiveRooms(appID, roomNamePrefix string) ([]RoomName, error) + func (r *Manager) ListUser(appID, roomName string) ([]User, error) + func (r *Manager) UpdateApp(appID string, appInfo AppUpdateInfo) (App, error) + type MergePublishRtmp struct + AudioOnly bool + Enable bool + Height int + OutputFps int + OutputKbps int + StreamTitle string + URL string + Width int + type MergePublishRtmpInfo struct + AudioOnly *bool + Enable *bool + Height *int + OutputFps *int + OutputKbps *int + StreamTitle *string + URL *string + Width *int + type RoomAccess struct + AppID string + ExpireAt int64 + Permission string + RoomName string + UserID string + type RoomName string + type RoomQuery struct + IsEnd bool + Offset int + Rooms []RoomName + type User struct + UserID string