Canvas sound quality issue

smartbet

New Member
Dear Max, we have issue with sound on mac and iPhone canvas player has some funky sound. Quality is like from radio station.
Is it possible to increase quality of sound , I have looked at documentation and could not find any clue on this.
 

Max

Administrator
Staff member
Good day.
WSPlayer uses PCMU audio codec, it is only suitable for speech. Please consider to use WebRTC (Opus audio codec) or HLS (AAC audio) to play streams in Safari browser on Mac and iOS, in this case you'll get a better sound quality.
 

smartbet

New Member
Good day.
WSPlayer uses PCMU audio codec, it is only suitable for speech. Please consider to use WebRTC (Opus audio codec) or HLS (AAC audio) to play streams in Safari browser on Mac and iOS, in this case you'll get a better sound quality.
Some times HLS player doesn't work on safari that why we used WSPlayer, is it possible to output sound by separate channel ?
 

Max

Administrator
Staff member
Some times HLS player doesn't work on safari
Please check if you set up the following options:
Code:
hls_min_list_size=2
hls_discontinuity_enabled=true 
hls_preloader_enabled=true
Also if you publish WebRTC streams from browser and play them by HLS, please set the following option to regularly request key frames from browser (every 2 seconds)
Code:
periodic_fir_request=true
periodic_fir_request_interval=2000
that why we used WSPlayer, is it possible to output sound by separate channel ?
No. WSPlayer is obsolete and intended to use in very old Safari versions where neither WebRT no HLS are supported.
 

smartbet

New Member
Please check if you set up the following options:
Code:
hls_min_list_size=2
hls_discontinuity_enabled=true
hls_preloader_enabled=true
Also if you publish WebRTC streams from browser and play them by HLS, please set the following option to regularly request key frames from browser (every 2 seconds)
Code:
periodic_fir_request=true
periodic_fir_request_interval=2000
No. WSPlayer is obsolete and intended to use in very old Safari versions where neither WebRT no HLS are supported.
Thank you I will try this options
 
Top