Documentation ¶
Index ¶
- type OpenjrtcClient
- func (c *OpenjrtcClient) CreateRoom(request *openjrtc.CreateRoomRequest) (*openjrtc.CreateRoomResponse, error)
- func (c *OpenjrtcClient) CreateUser(request *openjrtc.CreateUserRequest) (*openjrtc.CreateUserResponse, error)
- func (c *OpenjrtcClient) DescribeRoomOnlineUserNum(request *openjrtc.DescribeRoomOnlineUserNumRequest) (*openjrtc.DescribeRoomOnlineUserNumResponse, error)
- func (c *OpenjrtcClient) DisableLogger()
- func (c *OpenjrtcClient) SetConfig(config *core.Config)
- func (c *OpenjrtcClient) SetLogger(logger core.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenjrtcClient ¶
type OpenjrtcClient struct {
core.JDCloudClient
}
func NewOpenjrtcClient ¶
func NewOpenjrtcClient(credential *core.Credential) *OpenjrtcClient
func (*OpenjrtcClient) CreateRoom ¶
func (c *OpenjrtcClient) CreateRoom(request *openjrtc.CreateRoomRequest) (*openjrtc.CreateRoomResponse, error)
创建房间
func (*OpenjrtcClient) CreateUser ¶
func (c *OpenjrtcClient) CreateUser(request *openjrtc.CreateUserRequest) (*openjrtc.CreateUserResponse, error)
创建JRtc用户
func (*OpenjrtcClient) DescribeRoomOnlineUserNum ¶
func (c *OpenjrtcClient) DescribeRoomOnlineUserNum(request *openjrtc.DescribeRoomOnlineUserNumRequest) (*openjrtc.DescribeRoomOnlineUserNumResponse, error)
查询房间实时在线人数:
func (*OpenjrtcClient) DisableLogger ¶
func (c *OpenjrtcClient) DisableLogger()
func (*OpenjrtcClient) SetConfig ¶
func (c *OpenjrtcClient) SetConfig(config *core.Config)
func (*OpenjrtcClient) SetLogger ¶
func (c *OpenjrtcClient) SetLogger(logger core.Logger)
Click to show internal directories.
Click to hide internal directories.