Question about FlashPhoner on Chrome macOS Monterey 12.2

Gain

New Member
I have a problem about Chrome macOS Monterey 12.2
After published and streaming it catch error Code 6


1644403964700.png

It's happen only on chrome with macOS Monterey 12.2.
So i want to know did some update of webRTC effect on this or not ?
Because in past it's work well and no error like this.
Please advice.
Gain
 

Max

Administrator
Staff member
Good day
After published and streaming it catch error Code 6
Please reproduce the issue in Two Way Streaming example. If it's reproducing please provide Chrome Dev Tools console screenshot.
 

Max

Administrator
Staff member
We've updated demo server to the latest build 5.2.1131 and WebSDK 2.0.212. In this case, the problem is reproducing randomly in Chrome 98.0.4758.80 on MacOS 12.2. Seems like the issue is ih hardware H264 encoder parameters. There are the following workarounds:
1. Publish VP8 codec instead of H264
Code:
    session.createStream({
        name: streamName,
        display: localVideo,
        ...,
        stripCodecs: "H264"
        ...
    }).publish();
2. Or disable hardware acceleration in Chrome settings
3. Or set publishing constraints explicitly at least 640:
Code:
    session.createStream({
        name: streamName,
        display: localVideo,
        ...,
        constraints: {
            audio: true,
            video: {
                width: 640,
                height: 360
            }
        }
        ...
    }).publish();
This seems the best workaround.
Also, we noticed that Safari 15.3 on MacOS 12.2 may not send audio packets (this occurs randomly). The explicit constraints setting is also helps in this case.
 
Last edited:
Top