Not sure which user you are running Liquidsoap under.  But that user should
be a member of the pusleaudio group.  Not sure if you need to add them to
the audio group or not with pulse.

Nick

On Sat, May 4, 2019 at 10:39 AM Daniel Alexandre Cerqueira Santos <
notificati...@github.com> wrote:

> *Describe the bug*
> Can't hear sound [pulseaudio] and script exits with error.
>
> *To Reproduce*
>
> liquidsoap 'out(playlist("playlist.m3u"))'
>
> *Output*
>
> 2019/05/04 15:32:46 >>> LOG START
> 2019/05/04 15:32:46 [main:3] Liquidsoap 1.3.7
> 2019/05/04 15:32:46 [main:3] Using: bytes=[distributed with OCaml 4.02 or 
> above] pcre=7.4.1 dtools=0.4.1 duppy=0.8.0 cry=0.6.2 mm=0.4.0 ogg=0.5.2 
> vorbis=0.7.1 opus=0.1.2 mad=0.4.5 flac=0.1.4 flac.ogg=0.1.4 
> dynlink=[distributed with Ocaml] lame=0.3.3 gstreamer=0.3.0 fdkaac=0.2.1 
> ffmpeg=0.2.1 samplerate=0.1.4 taglib=0.3.3 ssl=0.5.7 camomile=1.0.1 
> inotify=2.3 faad=0.4.0 pulseaudio=0.1.3
> 2019/05/04 15:32:46 [gstreamer.loader:3] Loaded GStreamer 1.16.0 0
> 2019/05/04 15:32:46 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
> 2019/05/04 15:32:46 [frame:3] Frame size must be a multiple of 1764 ticks = 
> 1764 audio samples = 1 video samples.
> 2019/05/04 15:32:46 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio 
> samples = 1764 ticks.
> 2019/05/04 15:32:46 [frame:3] Frames last 0.04s = 1764 audio samples = 1 
> video samples = 1764 ticks.
> 2019/05/04 15:32:46 [threads:3] Created thread "gstreamer_main_loop" (1 
> total).
> 2019/05/04 15:32:46 [threads:3] Created thread "generic queue #1".
> 2019/05/04 15:32:46 [threads:3] Created thread "generic queue #2".
> 2019/05/04 15:32:46 [threads:3] Created thread "non-blocking queue #1".
> 2019/05/04 15:32:46 [threads:3] Created thread "non-blocking queue #2".
> 2019/05/04 15:32:46 [_playlist(dot)m3u:3] Loading playlist...
> 2019/05/04 15:32:46 [_playlist(dot)m3u:3] No mime type specified, trying 
> autodetection.
> 2019/05/04 15:32:46 [_playlist(dot)m3u:3] Playlist treated as format 
> application/x-mpegURL
> 2019/05/04 15:32:46 [_playlist(dot)m3u:3] Successfully loaded a playlist of 
> 278 tracks.
> 2019/05/04 15:32:46 [clock.wallclock_pulse:2] Error when starting output 
> pulse_out(liquidsoap:): Pulseaudio error: Connection refused!
> 2019/05/04 15:32:46 [clock.wallclock_pulse:3] Raised by primitive operation 
> at file "pulseaudio.ml" (inlined), line 47, characters 6-67
> 2019/05/04 15:32:46 [clock.wallclock_pulse:3] Called from file 
> "io/pulseaudio_io.ml", line 83, characters 13-190
> 2019/05/04 15:32:46 [clock.wallclock_pulse:3] Called from file 
> "tools/start_stop.ml", line 99, characters 6-16
> 2019/05/04 15:32:46 [clock.wallclock_pulse:3] Called from file "clock.ml", 
> line 237, characters 19-37
> 2019/05/04 15:32:46 [main:3] Shutdown started!
> 2019/05/04 15:32:46 [main:3] Waiting for threads to terminate...
> 2019/05/04 15:32:46 [threads:3] Shuting down thread gstreamer_main_loop
> 2019/05/04 15:32:46 [threads:3] Thread "gstreamer_main_loop" terminated (0 
> remaining).
> 2019/05/04 15:32:46 [main:3] Threads terminated.
> 2019/05/04 15:32:46 [threads:3] Shutting down scheduler...
> 2019/05/04 15:32:46 [threads:3] Thread "generic queue #2" terminated.
> 2019/05/04 15:32:46 [threads:3] Scheduler shut down.
> 2019/05/04 15:32:46 [threads:3] Shutting down queues...
> 2019/05/04 15:32:46 [threads:3] Thread "non-blocking queue #1" terminated.
> 2019/05/04 15:32:46 [threads:3] Thread "generic queue #1" terminated.
> 2019/05/04 15:32:46 [threads:3] Thread "non-blocking queue #2" terminated.
> 2019/05/04 15:32:46 [threads:3] Queues shut down
> 2019/05/04 15:32:46 [main:3] Cleaning downloaded files...
> 2019/05/04 15:32:46 [main:3] Freeing memory...
> 2019/05/04 15:32:46 >>> LOG END
>
> *Version details*
>
>    - OS: Manjaro Linux Deepin
>    - Liquidsoap version: 1.3.7
>
> *Install method*
> OPAM
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/savonet/liquidsoap/issues/764>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AJW3PSYMJKIW3AO2RBQHLQ3PTWNZXANCNFSM4HKZBAXA>
> .
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to