MCPcopy
hub / github.com/AlexxIT/go2rtc / TuyaAPI

Interface TuyaAPI

pkg/tuya/interface.go:10–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type TuyaAPI interface {
11 GetMqtt() *TuyaMqttClient
12
13 GetStreamType(streamResolution string) int
14 IsHEVC(streamType int) bool
15
16 GetVideoCodecs() []*core.Codec
17 GetAudioCodecs() []*core.Codec
18
19 GetStreamUrl(streamUrl string) (string, error)
20 GetICEServers() []pionWebrtc.ICEServer
21
22 Init() error
23 Close()
24}
25
26type TuyaClient struct {
27 TuyaAPI

Callers 11

DialFunction · 0.65
DialFunction · 0.65
DialFunction · 0.65
DialFunction · 0.65
DialFunction · 0.65
DialFunction · 0.65
DialFunction · 0.65
handlerInitFunction · 0.65
requestMethod · 0.65
requestMethod · 0.65
StopMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected