X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/6961095b797229842e1465ff3670625d11e95167..c645bbf04f3a2d814d029a3e6010b5622d0e9224:/lib/client-stubs.h diff --git a/lib/client-stubs.h b/lib/client-stubs.h index 1962df2..da36a88 100644 --- a/lib/client-stubs.h +++ b/lib/client-stubs.h @@ -25,7 +25,7 @@ /** @file lib/client-stubs.h * @brief Generated client API * - * Don't include this file directly - use @ref client.h instead. + * Don't include this file directly - use @ref lib/client.h instead. */ /** @brief Adopt a track @@ -549,6 +549,26 @@ int disorder_revoke(disorder_client *c); */ int disorder_rtp_address(disorder_client *c, char **addressp, char **portp); +/** @brief Cancel RTP stream + * + * + * + * @param c Client + * @return 0 on success, non-0 on error + */ +int disorder_rtp_cancel(disorder_client *c); + +/** @brief Request a unicast RTP stream + * + * + * + * @param c Client + * @param address Destination address + * @param port Destination port number + * @return 0 on success, non-0 on error + */ +int disorder_rtp_request(disorder_client *c, const char *address, const char *port); + /** @brief Terminate the playing track. * * Requires one of the 'scratch mine', 'scratch random' or 'scratch any' rights depending on how the track came to be added to the queue.