Hello, iam start using Baresip recently. I have a question about audio loop. I used baresip like a client to connect to my audio server, all works fine and i can send some wav file and check it on server. But i need to loop this wav file for its played in a circle. How i can do that? I heard that in previos versions it was possible with settings like: avformat_stream_loop 1
so i need some help with that if its possible.....
baresip configuration
#
#------------------------------------------------------------------------------
# SIP
#sip_listen
0.0.0.0:5060#sip_certificate cert.pem
sip_cafile /etc/ssl/certs/ca-certificates.crt
sip_capath /etc/ssl/certs
#sip_transports udp,tcp,tls,ws,wss
#sip_trans_def udp
#sip_verify_server yes
#sip_verify_client no
#sip_tls_resumption all
sip_tos 160
#filter_registrar udp,tcp,tls,ws,wss
# Call
call_local_timeout 120
call_max_calls 4
call_hold_other_calls yes
call_accept no
# Audio
#audio_path /usr/local/share/baresip
#audio_player alsa,default
audio_source aufile,/home/borovskii/Downloads/sample.wav
#audio_source aufile,/home/borovskii/Downloads/poisonruin.mp3
#audio_alert alsa,default
ausrc_srate 48000
#auplay_srate 48000
ausrc_channels 2
#auplay_channels 0
#audio_txmode poll # poll, thread
#audio_level no
#ausrc_format s16 # s16, float, ..
#auplay_format s16 # s16, float, ..
#auenc_format s16 # s16, float, ..
#audec_format s16 # s16, float, ..
#audio_buffer 20-160 # ms
#audio_buffer_mode fixed # fixed, adaptive
#audio_silence -35.0 # in [dB]
#audio_telev_pt 101 # payload type for telephone-event
# Video
#video_source v4l2,/dev/video
#video_source h.264,/home/borovskii/Documents/baresip/IAmLegendTrailerFullHD.h264
#video_display x11,nil
#video_size 1920x1080
#video_bitrate 4009600
#video_fps 30.00
#video_fullscreen yes
#videnc_format yuv420p
#videnc_format libx264
# AVT - Audio/Video Transport
rtp_tos 184
rtp_video_tos 136
#rtp_ports 10000-20000
#rtp_bandwidth 512-1024 # [kbit/s]
audio_jitter_buffer_type fixed # off, fixed, adaptive
audio_jitter_buffer_ms 100-200 # Min. - Max. [ms]
audio_jitter_buffer_size 50 # [packets]
video_jitter_buffer_type fixed # off, fixed, adaptive
video_jitter_buffer_ms 100-200 # Min. - Max. [ms]
video_jitter_buffer_size 250 # [packets]
rtp_stats no
#rtp_timeout 60
#avt_bundle no
#rtp_rxmode main