@t0mri
@lemmy.mli want to share audio over network so that i can use my tv as a wireless speaker. so i chose obs studio to make a stream out of my system audio coz i had it installed already. i went to settings -> output (advanced) -> recording (custom)
and set ffmpeg output
to output to url
and set the url to udp://192.168.43.87:8081
and set container format
to mp3
just to get started. so to test things out i ran mpv udp://192.168.43.87:8081
on the same machine and it plays audio. but when i tried accessing it from my android phone with mpv client, it doesnt play the audio, it just shows black screen for while and return to main menu of mpv app. thanks in advance.
edit
iptables:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I set the sender's IP address as output URL in obs studio, thats the issue. To fix this, set the receiver's IP address as output URL. Yeah you can't broadcast with this ig.
cross-posted from: https://lemmy.ml/post/17545833
im new to system programming, idk if thats the issuse. but according gcc, it can not find
dbus/dbus-arch-deps.h
and thats all i know. any idea about this issue?program [I] tomri@artix ~ [1]> cat main.c #include <dbus-1.0/dbus/dbus.h> int main(void) { return 0; }
# error [I] tomri@artix ~> gcc main.c In file included from main.c:1: /usr/include/dbus-1.0/dbus/dbus.h:29:10: fatal error: dbus/dbus-arch-deps.h: No such file or directory 29 | #include <dbus/dbus-arch-deps.h> | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
[I] tomri@artix ~> ls -la /usr/include/dbus-1.0/dbus/ total 216 drwxr-xr-x 2 root root 4096 Jul 2 20:26 ./ drwxr-xr-x 3 root root 4096 Jun 15 21:36 ../ -rw-r--r-- 1 root root 2809 Jan 14 06:17 dbus-address.h -rw-r--r-- 1 root root 3470 Jan 14 06:17 dbus-bus.h -rw-r--r-- 1 root root 27018 Jan 14 06:17 dbus-connection.h -rw-r--r-- 1 root root 2909 Jan 14 06:17 dbus-errors.h -rw-r--r-- 1 root root 22076 Jun 8 2023 dbus-glib-bindings.h -rw-r--r-- 1 root root 2575 Jun 8 2023 dbus-glib-lowlevel.h -rw-r--r-- 1 root root 14766 Jun 8 2023 dbus-glib.h -rw-r--r-- 1 root root 8969 Jun 8 2023 dbus-gtype-specialized.h -rw-r--r-- 1 root root 1464 Jun 8 2023 dbus-gvalue-parse-variant.h -rw-r--r-- 1 root root 7246 Jan 14 06:17 dbus-macros.h -rw-r--r-- 1 root root 1961 Jan 14 06:17 dbus-memory.h -rw-r--r-- 1 root root 15259 Jan 14 06:17 dbus-message.h -rw-r--r-- 1 root root 1810 Jan 14 06:17 dbus-misc.h -rw-r--r-- 1 root root 3809 Jan 14 06:17 dbus-pending-call.h -rw-r--r-- 1 root root 23956 Jan 14 06:17 dbus-protocol.h -rw-r--r-- 1 root root 5412 Jan 14 06:17 dbus-server.h -rw-r--r-- 1 root root 5392 Jan 14 06:17 dbus-shared.h -rw-r--r-- 1 root root 3047 Jan 14 06:17 dbus-signature.h -rw-r--r-- 1 root root 2359 Jan 14 06:17 dbus-syntax.h -rw-r--r-- 1 root root 8505 Jan 14 06:17 dbus-threads.h -rw-r--r-- 1 root root 4143 Jan 14 06:17 dbus-types.h -rw-r--r-- 1 root root 3961 Jan 14 06:17 dbus.h [I] tomri@artix ~>
# my system [I] tomri@artix ~> uname --all Linux artix 6.9.7-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 18:11:28 +0000 x86_64 GNU/Linux
im new to system programming, idk if thats the issuse. but according gcc, it can not find dbus/dbus-arch-deps.h
and thats all i know. any idea about this issue?
program
[I] tomri@artix ~ [1]> cat main.c
#include <dbus-1.0/dbus/dbus.h>
int main(void) { return 0; }
# error
[I] tomri@artix ~> gcc main.c
In file included from main.c:1:
/usr/include/dbus-1.0/dbus/dbus.h:29:10: fatal error: dbus/dbus-arch-deps.h: No such file or directory
29 | #include <dbus/dbus-arch-deps.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[I] tomri@artix ~> ls -la /usr/include/dbus-1.0/dbus/
total 216
drwxr-xr-x 2 root root 4096 Jul 2 20:26 ./
drwxr-xr-x 3 root root 4096 Jun 15 21:36 ../
-rw-r--r-- 1 root root 2809 Jan 14 06:17 dbus-address.h
-rw-r--r-- 1 root root 3470 Jan 14 06:17 dbus-bus.h
-rw-r--r-- 1 root root 27018 Jan 14 06:17 dbus-connection.h
-rw-r--r-- 1 root root 2909 Jan 14 06:17 dbus-errors.h
-rw-r--r-- 1 root root 22076 Jun 8 2023 dbus-glib-bindings.h
-rw-r--r-- 1 root root 2575 Jun 8 2023 dbus-glib-lowlevel.h
-rw-r--r-- 1 root root 14766 Jun 8 2023 dbus-glib.h
-rw-r--r-- 1 root root 8969 Jun 8 2023 dbus-gtype-specialized.h
-rw-r--r-- 1 root root 1464 Jun 8 2023 dbus-gvalue-parse-variant.h
-rw-r--r-- 1 root root 7246 Jan 14 06:17 dbus-macros.h
-rw-r--r-- 1 root root 1961 Jan 14 06:17 dbus-memory.h
-rw-r--r-- 1 root root 15259 Jan 14 06:17 dbus-message.h
-rw-r--r-- 1 root root 1810 Jan 14 06:17 dbus-misc.h
-rw-r--r-- 1 root root 3809 Jan 14 06:17 dbus-pending-call.h
-rw-r--r-- 1 root root 23956 Jan 14 06:17 dbus-protocol.h
-rw-r--r-- 1 root root 5412 Jan 14 06:17 dbus-server.h
-rw-r--r-- 1 root root 5392 Jan 14 06:17 dbus-shared.h
-rw-r--r-- 1 root root 3047 Jan 14 06:17 dbus-signature.h
-rw-r--r-- 1 root root 2359 Jan 14 06:17 dbus-syntax.h
-rw-r--r-- 1 root root 8505 Jan 14 06:17 dbus-threads.h
-rw-r--r-- 1 root root 4143 Jan 14 06:17 dbus-types.h
-rw-r--r-- 1 root root 3961 Jan 14 06:17 dbus.h
[I] tomri@artix ~>
# my system
[I] tomri@artix ~> uname --all
Linux artix 6.9.7-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 18:11:28 +0000 x86_64 GNU/Linux
i recently switched to connman and i need a tui. so i searched for some and got:
but i believe both are orphaned. so it there any tui for connman out there?
i didnt care about how i wrote my bash scripts, coz i know theyd ultimately be used just by myself. but for the past few day, i've been working on this project, mk-blog which uses some bash scripts, there are chances that others might look at them. besides in work they're asking me maintain a server. so why not learn the standards. but i couldn't find anything good online (i'm gonna blame my search engine lol). so...
i'd appreciate redirections to (official or community) bash coding standards
im on a dinit based system and want to start syncthing as a regular user service. currently, its running as root (which bugs me a lot, as it's playing on the network) using the syncthing-dinit service located at /etc/dinit.d/syncthing
. i know i can run it with a custom syncthing dinit service file. but, i just want to know how to make use of the existing syncthing-dinit service file
thanks in advance
greetings, i want to build a daw (digital audio workstation), but i have no idea where to even start. here are my needs and the options i've found:
my needs:
the options i've found:
[rejected] flutter: the first option that came to my mind was flutter. i thought it would give me a quick start in laying down the ui, but i don't think it has the capability to fulfill my needs (please correct me if i'm wrong)
gtk/qt (with zig): i wonder if qt provide bindings for zig
raylib (with zig): it's cool (my choice as of now)
[rejected] webassembly (with zig): it would be an ultimate comfort to build this way ig, but is it possible to make that web app into desktop one (like tauri or something)?
id really appreciate your opinions and advice
ps: i hope i'm clear. i got a headache searching about these. i'll update this post for more clarity later
Thank you guys for all your opinions and advises. Thanks for explaining the limitations with gtk, things with qt and flutter. That kotlin compose thing was cool too. Thanks for mentioning yabridge thats gonna be helpful. It might not seem like it, but I did listen to your thoughts, and stuck with zig and raylib. Thanks a lot