Skip to content

getUserMedia not handle audio audioContext.createMediaStreamSource #562

@AlekseyPn

Description

@AlekseyPn

Versions affected

  • Cordova version: latest:
  • Cordova iOS version: 5.1.1:
  • Plugin version: 6.0.12:
  • iOS version: 13.6:

Description

Hi, I found what getUserMedia not handle this case, and in audio object not setted constraints.
getUserMedia handle one of mandatory or optional
{audio: optional: Array(2) 0: {label: "iPhone Микрофон"} 1: {sourceId: "Built-In Microphone"} video: mandatory: sourceId: "com.apple.avfoundation.avcapturedevice.built-in_video:1" optional: Array(7) 0: {minFrameRate: 30} 1: {maxFrameRate: 30} 2: {label: "Front Camera"} 3: {minMinBitrate: 3500} 4: {maxMinBitrate: 3500} 5: {minMaxBitrate: 5000} 6: {maxMaxBitrate: 5000}

I try fix bug local, but anyway got NotAllowedError, and if I disable audio, all works fine
We use Flashphoner library for connect to server

Expected results

Video stream started

Actual results

Got NotAllowedError

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions