ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.29k stars 636 forks source link

[Flutter] Mute audio not working fine #6666

Open anirudhrao-github opened 1 month ago

anirudhrao-github commented 1 month ago

Short description

When clicked on mute while broadcasting, the viewers' stream is paused without any exception until the broadcaster unmutes himself

Environment

Steps to reproduce

  1. Publish a Webrtc stream using antmedia_flutter
  2. Start watching the stream (using mobile or Antmedia sample)
  3. Mute the microphone on broadcaster side
  4. The viewers' stream is paused without any exception. The broadcaster is unaware.

Expected behavior

Muting of microphone should not pause the stream on viewer's end

Actual behavior

The viewers' stream is paused without any exception. The broadcaster is unaware. This happens for every viewer atleast once

Logs

NA

Ask your questions on Ant Media Github Discussions

filip-ams commented 1 month ago

Hi @anirudhrao-github

Thank you for reaching out.

On first glance It would seem we have an issue with our Publish example app, however I would like to test this further and after I have more information I will get back to you.

Best regards, Filip

filip-ams commented 2 weeks ago

I couldn't reproduce this issue on Android 13, JDK 17 on a Pixel 8 Emulator.

Steps I took:

Launch a new application on our test server https://test.antmedia.io:5443/

Created a WebRTC stream

Launched our Flutter sample play app

Muted the broadcast, the stream continues uninterrupted

Tried the publish Flutter sample app, same result when muting from both sides

filip-ams commented 1 week ago

Could this be related to https://github.com/ant-media/Ant-Media-Server/issues/6756 ?

anirudhrao-github commented 1 week ago

Thank you for your quick response.

Have you tried watching the stream on another device while you mute it for the first time?

filip-ams commented 1 week ago

Hi @anirudhrao-github, I have only tried this on a Pixel 8 and Pixel 8 Pro with Android version 13, could you please provide the device you used when you encountered this issue?

anirudhrao-github commented 1 week ago

Hello @filip-ams , I had checked this on Redmi note 10 running on Android 13.

Could you please mention the antmedia_flutter version you are using?

filip-ams commented 5 days ago

Hi @anirudhrao-github,

antmedia_flutter 1.5.0