Skip to main content

phone.checkGroupCall

Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs. Returns an intersection of the source IDs specified in sources, and the source IDs currently being forwarded by the SFU.

func (c *Client) PhoneCheckGroupCall(ctx context.Context, request *PhoneCheckGroupCallRequest) ([]int, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.PhoneCheckGroupCall(ctx, &tg.PhoneCheckGroupCallRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // []int
return nil
})

Parameters

NameTypeRequiredDescription
CallInputGroupCallClassyesGroup call
Sources[]intyesSource IDs

Returns

[]int

Possible errors

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.
400GROUPCALL_JOIN_MISSINGYou haven't joined this group call.

References