node-ari-client icon indicating copy to clipboard operation
node-ari-client copied to clipboard

Playback example is incorrect

Open MattRiddell opened this issue 6 years ago • 0 comments

The playback example has this:

playback.control({operation: 'stop'}, function(err) {});

but that results in an error:

{"message":"Invalid operation stop"}

The correct way to do it is:

playback.stop(function(err) {});

MattRiddell avatar Feb 25 '19 13:02 MattRiddell