Mixer not work on build 709 - Java 12

Hello!

Our mixer stop works with build 709 - Java 12.
Its working on build 654 - Java 8.

# Config flashphoner.properties
# To get more settings:
# ssh -p 2001 admin@localhost
# default password: admin
# show node-settings
# show node-settings | grep port

#server ip
ip =X.x.x.x
ip_local =10.128.0.13

client_mode=false

rtc_ice_add_local_component=true

#CDN
cdn_enabled=true
cdn_nodes_resolve_ip=true
cdn_ip=10.128.0.13
cdn_role=origin
cdn_groups=america
cdn_origin_to_origin_route_propagation=true


ice_tcp_nio=true
ice_tcp_transport=true
ice_tcp_send_buffer_size=1048576
ice_tcp_receive_buffer_size=1048576
ice_tcp_channel_high_water_mark=52428800
ice_tcp_channel_low_water_mark=5242880

#webrtc ports range
media_port_from =31001
media_port_to =60000

#codecs
codecs =opus,alaw,ulaw,g729,speex16,g722,telephone-event,mpeg4-generic,h264,vp8,flv,mpv
codecs_exclude_sip =mpeg4-generic,flv,mpv
codecs_exclude_streaming =flv,telephone-event
codecs_exclude_sip_rtmp =opus,g729,g722,mpeg4-generic,vp8,mpv

#websocket ports
ws.port =8080
wss.port =8443

wcs_agent_ssl = true

record_streams=true
record_flash_published_streams=true

record_rotation=300M
stream_record_policy_template={streamName}-{startTime}-{endTime}
on_record_hook_script=/usr/local/FlashphonerWebCallServer/bin/on_record_hook.sh
mp4_container_moov_first=true
mp4_container_moov_first_reserve_space=true
mp4_container_moov_reserved_space_size=2048



webrtc_cc_min_bitrate=10000
webrtc_cc_max_bitrate=1000000


webrtc_sdp_min_bitrate_bps=10000
webrtc_sdp_max_bitrate_bps=1000000


mixer_idle_timeout=3600000

encoder_priority=FF
mixer_video_bitrate_kbps=800
#mixer_thread_priority=10
record_mixer_streams=true
streaming_video_decoder_fast_start=true
mixer_video_desktop_layout_padding=2
mixer_video_grid_layout_padding=2
#mixer_layout_class=com.flashphoner.media.mixer.video.presentation.CenterNoPaddingGridLayout
mixer_video_layout_desktop_key_word=d
mixer_voice_activity_frame_thickness=1
mixer_voice_activity=false
mixer_audio_silence_threshold=-50
mixer_video_background_filename=event.png
#mixer_layout_class=com.flashphoner.mixerlayout.TestLayout
mixer_realtime=true
mixer_auto_start=true
mixer_mcu_audio=true
mixer_mcu_video=true
#mixer_out_buffer_enabled=false
#mixer_out_buffer_initial_size=100
mixer_video_buffer_length=450
#mixer_out_buffer_polling_time=100
#mixer_out_buffer_start_size=150
audio_mixer_output_sample_rate=48000
mixer_in_buffering_ms=550




aws_s3_credentials=ca-central-1;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
vod_mp4_container_new=true
vod_mp4_container_new_buffer_ms=5000


disable_manager_rmi=true

rest_max_connections=500

#rtp_receive_buffer_size=262144
#rtp_send_buffer_size=262144
rtp_in_buffer_polling_time=3000
rtp_activity_detecting=true,30
flash_rtp_activity_enabled=true

#rtmp.server_buffer_enabled=true
#rtmp_in_buffer_initial_size=3000
#rtmp_in_buffer_polling_time=1000
#rtmp_in_buffer_start_size=1000




webrtc_cc2_twcc=false

use_fdk_aac=true


#rtmp.server_buffer_enabled=true
#rtmp_in_buffer_enabled=true
#rtmp_in_buffer_polling_time=1000
#rtmp_in_buffer_start_size=1500
#rtmp_server_channel_receive_buffer_size=2048

keep_alive.enabled=websocket,rtmfp

disable_streaming_proxy=true

av_paced_sender=true
av_paced_sender_max_buffer_size=450
video_transcoder_preserve_aspect_ratio=false

opus.encoder.bitrate=96000
 

Max

Administrator
Staff member
Good day.
We can't reproduce the issue with build 5.2.709 in Java 8, 12 and 14 using settings you provided.
So please collect a report as described here and send using this link. Also you can provide SSH access to your server using this link, we will try to reproduce the issue in your environment.
 

Max

Administrator
Staff member
We checked the report.
It seems like you've installed OpenJDK 12 to clean system. In this case, this bug may occur due to mixer text autosaling feature introduced in build 5.2.709.
We raised internal ticket WCS-2823 to disable font operations by default if text captions are not used and to update system requirements to workaround this on clean system.
The workaround is to install libfontconfig:
Code:
yum install fontconfig
 

Max

Administrator
Staff member
We fixed unneeded fonts access if mixer captions are disabled (by default) in build 5.2.720. So, if you do not display stream names in mixer, libfontconfig is not necessary.
 
Top