Mac OS Safari Broadcaster - HLS not working

Michael

Member
Hello

We had some complaints about broadcasters using Mac Os and Safari. The error thrown was "invalid Constraint".

We follow the forum answers, and make that fix setting ideal on width and height constraints, and disabling the constraint normalization for Safari (Step 8):

But now, after fix the issue, the viewers can not play the video using HLS, just WEBRTC when broadcaster is using Old versions from Mac Os and Safari.

Just to clarify:
  • Users can play videos in HLS for all other broadcasters environment.
  • We use hooks request to validate the streaming access, even to HLS.
  • We are using the 0.5.28.2753.150 Web SDK version
  • We are using the 5.2.832 Server Version
  • Our HLS settings:
Code:
hls_list_size=3
hls_min_list_size=2
hls_time=2
hls_time_min=2000
hls_auto_start=true
hls_preloader_enabled=true
hls_auth_enabled=true
client_acl_property_name=our_secret
hls_auth_token_cache=10
hls_segment_name_suffix_randomizer_enabled=true
Systems where the issue occours:
Mac OS High Sierra - Safari 11
Mac OS High Sierra - Safari 13

Any idea what could be?
 
Last edited:

Michael

Member
We are facing the same issue when broadcaster is using chrome 88 on Mac OS High Sierra.

But on this time, HLS and even Webrtc do not work for users play the video, when the broadcaster is on Mac OS - Chrome.

Tips to fix this issue?

Regards
 

Max

Administrator
Staff member
Good day.
We made some tests on MacOS High Sierra 10.13.6, Chrome 88 and Safari 13.1.2 with the latest WCS build 5.2.889 and latest WebSDK build 0.5.28.2753.155.
Seems like Chrome 88 on MacOS 10.13.6 does not sent video frames at all, both in our examples (Two Way Streaming, Media Devices etc) and in AppRTC: the other side does not see video from Mac. So perhaps it is a Chrome fresh bug.
We also tested Chrome 88 on MacOS 11.1, it's working perfectly (both in our examples and AppRTC).
The workaround is to use Safari browser on MacOS High Sierra.
But now, after fix the issue, the viewers can not play the video using HLS, just WEBRTC when broadcaster is using Old versions from Mac Os and Safari.
Please add the following parameter to Origin settings
Code:
periodic_fir_request=true
Seems like Safari sends keyframes irregularly, so HLS segments cut cannot start properly. This seting should fix the issue.
 

Michael

Member
Hello

Can you confirm if is just at Mac OS High Sierra 10.13.1 on Chrome 88 the issue? If the issue occours at Catalina or another versions?

There is something we can do about the Chrome Issue? Or just wait for a new update with a fix?

Regards
 

Max

Administrator
Staff member
Can you confirm if is just at Mac OS High Sierra 10.13.1 on Chrome 88 the issue? If the issue occours at Catalina or another versions?
We cannot reproduce the issue in Chrome 88 on Mac OS Catalina and MacOS BigSur.
There is something we can do about the Chrome Issue? Or just wait for a new update with a fix?
Just wait for Chrome update.
Use Safari on High Sierra as workaround.
 
Top