This function is displayed as a function pointer in rts_glue_funcs when a stream is pushed or played.

void *(* open){
    const char *url,
    const char *mode


Parameter Description
url The URL of the stream. URLs that start with artc:// are supported.
mode The mode of the stream. Valid values:
  • r: plays a stream.
  • w: pushes a stream.

Response parameters

  • If the call is successful, a handle is returned. The handle can be of the close, ioctl, read, or write type. You can manage the handle as needed.
  • If the call failed, NULL is returned.