func (c *Client) SetTracks(params *SetTracksParams) (*SetTracksResponse, error) {
	data := &SetTracksResponse{}
	if err := c.SendRequest(params, data); err != nil {
		return nil, err
	}
	return data, nil
}
SetTracks sends the corresponding request to the connected OBS WebSockets server.
package sources
import requests "github.com/andreykaipov/goobs/api/requests"
type SetTracksParams struct {
	requests.ParamsBasic
	Active bool `json:"active"`
	SourceName string `json:"sourceName,omitempty"`
	Track int `json:"track,omitempty"`
}
func (o *SetTracksParams) GetSelfName() string {
	return "SetTracks"
}
type SetTracksResponse struct {
	requests.ResponseBasic
}