Revision 54b02213 src/Chunkiser/stream-rtp.h

View differences:

src/Chunkiser/stream-rtp.h
70 70
    char tag[8];
71 71

  
72 72
    sprintf(tag, "stream%d", j);
73
    val = config_value_str(cfg_tags, tag);
73
    val = grapes_config_value_str(cfg_tags, tag);
74 74
    if (val != NULL) {
75 75
      if (port_pair_parse(val, &ports[i]) != 0) {
76 76
        *error_str = port_pair_failed;
......
84 84
  }
85 85
  /* Ports defined with "audio", "video" */
86 86
  if (i == 0) {
87
    val = config_value_str(cfg_tags, "audio");
87
    val = grapes_config_value_str(cfg_tags, "audio");
88 88
    if (val != NULL) {
89 89
      if (port_pair_parse(val, &ports[i]) != 0) {
90 90
        *error_str = port_pair_failed;
......
92 92
      }
93 93
      i += 2;
94 94
    }
95
    val = config_value_str(cfg_tags, "video");
95
    val = grapes_config_value_str(cfg_tags, "video");
96 96
    if (val != NULL) {
97 97
      if (port_pair_parse(val, &ports[i]) != 0) {
98 98
        *error_str = port_pair_failed;
......
106 106
  }
107 107
  /* Ports defined with "base" */
108 108
  if (i == 0) {
109
    if (config_value_int(cfg_tags, "base", &ports[0])) {
109
    if (grapes_config_value_int(cfg_tags, "base", &ports[0])) {
110 110
      ports[1] = ports[0] + 1;
111 111
      ports[2] = ports[1] + 1;
112 112
      ports[3] = ports[2] + 1;

Also available in: Unified diff