Audio Only Streams

Discussion in 'Web Call Server 5' started by Azhar Ali, May 10, 2019.

  1. Azhar Ali

    Azhar Ali Member


    I would to discuss what would be most optimal settings for audio only streams? We are looking to develop a radio broadcasting service but getting between 3-4 seconds delay on it. Is there anyway to optimize that so we get less than a second latency?

    Our server is configured to have HD video streaming which also have 3 seconds delay. I was hoping to have less latency for audio only streams as there is no video processing.

    Any idea?
  2. Max

    Max Administrator Staff Member

  3. Azhar Ali

    Azhar Ali Member

    Hi Max,

    Thank you for the input. I had a look and something I should have mentioned that I was building this using the roomAPI and I can't seem to find a way to send the constraints when you get the streams from the participants. Each room would be a station in the radio and people will join and leave.
    I have set the constraints on the publisher side for the video to false and audio to true. Latency is coming to 3-4 seconds.

    I have checked the audio stats from the stream object and I only get audio stats and there is no video stats object.
    Any help?
  4. Max

    Max Administrator Staff Member

    Good day.
    You can set constraints for publishing media in chat room here, see Conference example on GitHub:
        var constraints = {
            audio: true,
            video: false
    In this case, audio only is published, so you can check audio stats object only.
    Please update to latest WCS build from this page and check the latency. If the issue still persists. please collect a report as described here and send to We will check.

Share This Page