Changeset 5696
- Timestamp:
- Nov 16, 2017 1:25:04 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/conference.c
r5687 r5696 1856 1856 status = pjmedia_delay_buf_get(conf_port->delay_buf, 1857 1857 (pj_int16_t*)frame->buf); 1858 if (status != PJ_SUCCESS) 1858 if (status != PJ_SUCCESS) { 1859 conf_port->rx_level = 0; 1859 1860 continue; 1861 } 1860 1862 1861 1863 } else { … … 1877 1879 conf_port->rx_setting = PJMEDIA_PORT_DISABLE; 1878 1880 */ 1881 conf_port->rx_level = 0; 1879 1882 continue; 1880 1883 } 1881 1884 1882 1885 /* Check that the port is not removed when we call get_frame() */ 1883 if (conf->ports[i] == NULL) 1886 if (conf->ports[i] == NULL) { 1887 conf_port->rx_level = 0; 1884 1888 continue; 1889 } 1890 1885 1891 1886 1892 /* Ignore if we didn't get any frame */ 1887 if (frame_type != PJMEDIA_FRAME_TYPE_AUDIO) 1893 if (frame_type != PJMEDIA_FRAME_TYPE_AUDIO) { 1894 conf_port->rx_level = 0; 1888 1895 continue; 1896 } 1889 1897 } 1890 1898
Note: See TracChangeset
for help on using the changeset viewer.