MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / Control

Method Control

client/playback.go:35–43  ·  view source on GitHub ↗
(key *ari.Key, op string)

Source from the content-addressed store, hash-verified

33}
34
35func (p *playback) Control(key *ari.Key, op string) error {
36 return p.c.commandRequest(&proxy.Request{
37 Kind: "PlaybackControl",
38 Key: key,
39 PlaybackControl: &proxy.PlaybackControl{
40 Command: op,
41 },
42 })
43}
44
45func (p *playback) Stop(key *ari.Key) error {
46 return p.c.commandRequest(&proxy.Request{

Callers 2

TestPlaybackControlFunction · 0.80
playbackControlMethod · 0.80

Calls 1

commandRequestMethod · 0.80

Tested by 1

TestPlaybackControlFunction · 0.64