[Webkit-unassigned] [Bug 180748] Audio sometimes fail to capture in WebRTC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 4 07:30:10 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=180748

--- Comment #35 from daginge at confrere.com ---
Very interesting result from that, youenn. Here's the result from one test:

{
    "userAgent": {
        "browser": {
            "family": "Mobile Safari",
            "major": "12",
            "minor": "1",
            "patch": "2",
            "source": "Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1"
        },
        "os": "iOS"
    },
    "id": "RTCOutboundRTPAudioStream_3100197038",
    "timestamp": 1567592898380,
    "type": "outbound-rtp",
    "codecId": "RTCCodec_audio_Outbound_111",
    "isRemote": false,
    "mediaType": "audio",
    "qpSum": 0,
    "ssrc": 3100197038,
    "trackId": "RTCMediaStreamTrack_sender_5",
    "transportId": "RTCTransport_audio_1",
    "bytesSent": 0,
    "packetsSent": 0,
    "tracks": [
        {
            "contentHint": "",
            "enabled": true,
            "id": "39d78be2-ab05-4e3b-a3f2-8ff1c830e50d",
            "kind": "audio",
            "label": "iPhone Mikrofon",
            "muted": true,
            "readyState": "live"
        }
    ]
}

Notice the muted: true on the audio track. Now, this isn't under the application's control, and it's something the OS does. This will explain why the audio isn't transmitted, but WHY is it muted?

So we did some more testing and created a minimal test case. What we wanted to do was hook onto onmute and onunmute and observe when the OS triggers mute and unmute of the audio track, and if this gets stuck somehow.

I'm happy to report we found several cases where this could happen, and this seems to be the root cause. To keep this from being too long I'll post detailed reproduction steps in a new post.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190904/499d5e9f/attachment.html>


More information about the webkit-unassigned mailing list