Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Close()
- func (d *Dao) CreateCall(ctx context.Context, call *model.RtcCall) (uint32, error)
- func (d *Dao) CreateMediaPublish(ctx context.Context, publish *model.RtcMediaPublish) error
- func (d *Dao) CreateMediaSource(ctx context.Context, source *model.RtcMediaSource) (uint32, error)
- func (d *Dao) GetChannelIP(ctx context.Context, channelID uint64) ([]string, error)
- func (d *Dao) GetMediaPublishConfig(ctx context.Context, channelID uint64, callID uint32) (*model.RtcMediaPublish, error)
- func (d *Dao) GetMediaSource(ctx context.Context, channelID uint64) ([]*model.RtcMediaSource, error)
- func (d *Dao) GetToken(ctx context.Context, channelID uint64, callID uint32) (string, error)
- func (d *Dao) Ping(ctx context.Context) error
- func (d *Dao) TerminateStream(ctx context.Context, channelID uint64, callID uint32) error
- func (d *Dao) UpdateCallStatus(ctx context.Context, channelID uint64, callID uint32, userID uint64, ...) error
- func (d *Dao) UpdateMediaPublishConfig(ctx context.Context, channelID uint64, callID uint32, config string) error
- func (d *Dao) UpdateMediaSourceStatus(ctx context.Context, channelID uint64, callID uint32, userID uint64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao dao
func (*Dao) CreateCall ¶
func (*Dao) CreateMediaPublish ¶
func (*Dao) CreateMediaSource ¶
func (*Dao) GetChannelIP ¶
func (*Dao) GetMediaPublishConfig ¶
func (*Dao) GetMediaSource ¶
func (*Dao) TerminateStream ¶
func (*Dao) UpdateCallStatus ¶
func (*Dao) UpdateMediaPublishConfig ¶
Click to show internal directories.
Click to hide internal directories.