Commit Graph

242 Commits

Author SHA1 Message Date
pi
cb7e9ac8ac 3 retys added frst attempt 2025-10-27 11:39:42 +01:00
pi
adafa6279a now correct "streaming" notice 2025-10-25 12:14:21 +02:00
pi
46cf690ba3 klappt mit multiplen vom originalen child monitor 2025-10-25 10:28:54 +02:00
edr
a08967059b Add VPN hint to README.md 2025-06-07 11:04:15 +02:00
edr
06d793fe16 Merge pull request #27 from yurtpage/rm_tx
Delete unsupported .tx/config for Transifex
2025-05-18 20:28:52 +02:00
Yurt Page
6baa9eb203 Delete unsupported .tx/config 2025-05-18 11:30:05 +03:00
edr
79165dfe5e Update CONTRIBUTING.md
No more translations please
2025-05-12 19:01:33 +02:00
edr
01f357a985 v1.4 2024-04-10 21:30:11 +02:00
edr
ebe395fc8f More tolerant socket timeout 2024-04-08 23:21:34 +02:00
edr
9c8e0b881f Merge pull request #13 from fwiesel/normalize_relative_brightness
Normalize volume for brightness
2024-04-06 23:39:05 +02:00
edr
4d9c805b96 Merge pull request #14 from fwiesel/less_setters
Remove setters, and rename callbacks for onSomething
2024-04-03 17:18:18 +02:00
Fabian Wiesel
1305eca655 Remove setters, and rename callbacks for onSomething
- Setters are rather java-esque, and ...
- callbacks in the Android ecosystem are usually more
  called on<EventName> than <EventName>Callback.
2024-03-30 22:33:23 +01:00
Fabian Wiesel
4200a19378 Normalize volume for brightness
Undo an unintentional change done in f6a429e.
The brightness was calculated from the normalized volume, but when factoring
the norm out in the history, that norm was dropped.
2024-03-30 07:36:56 +01:00
edr
33a7a82a6a v1.3 2024-03-26 21:17:42 +01:00
edr
72830e020e Set socket timeout to properly detect when remote end loses network connection 2024-03-20 20:15:11 +01:00
edr
b874584cf7 Fix wrong success state upon reading zero bytes 2024-03-20 20:14:45 +01:00
edr
1018ded2d9 Refactor error handling in ListenService 2024-03-20 19:52:01 +01:00
edr
4bc2b0f8a7 Merge pull request #12 from fwiesel/kotlin
Modernize the Stack Kotlin Edition
2024-03-20 19:33:08 +01:00
Fabian Wiesel
3588622bd2 ListenService: Wrap Socket in a Result
This way we can handle the IOException in the same place
as in the java version, without throwing passing unchecked exceptions
2024-03-16 20:50:46 +01:00
Fabian Wiesel
a784eed506 Undo refactoring in ListenService 2024-03-04 20:36:06 +01:00
Fabian Wiesel
019c5e6e9f Removed public modifier 2024-03-01 20:40:00 +01:00
Fabian Wiesel
be2b9084cb Missed to log the exception 2024-03-01 20:26:12 +01:00
Fabian Wiesel
ea8357bb3c Use try-catch where appropriate 2024-03-01 18:32:33 +01:00
Fabian Wiesel
282753854f Made volumeHistory public 2024-03-01 18:03:33 +01:00
Fabian Wiesel
eba51360c1 Remove unnessary unit from function 2024-03-01 18:01:46 +01:00
Fabian Wiesel
03b7aff579 Missing closing brace 2024-03-01 17:59:01 +01:00
Fabian Wiesel
f5aa9da84c Various style fixes 2024-03-01 17:24:35 +01:00
Fabian Wiesel
b9964d24d2 Changed G711UCodec license comment 2024-03-01 17:10:00 +01:00
Fabian Wiesel
d7ac99665d Added comment about modifications 2024-02-28 21:32:28 +01:00
Fabian Wiesel
32235302c6 Use lateinit for notificationManager and nsdManager 2024-02-26 21:05:11 +01:00
Fabian Wiesel
41506bc601 Wrap java exceptions in runCatching blocks 2024-02-26 20:42:45 +01:00
Fabian Wiesel
c6c60d9dbd Move service name to constructor 2024-02-26 19:41:52 +01:00
Fabian Wiesel
58095bc67b Use ?.let instead if-null-test, avoid runnable 2024-02-26 19:41:52 +01:00
Fabian Wiesel
fa6e4da2c5 Move DiscoverActivity constant to companion object 2024-02-26 19:41:52 +01:00
Fabian Wiesel
c5b542a333 Unused arguments and unnessecary null checks 2024-02-26 19:41:52 +01:00
Fabian Wiesel
5d17453c14 G711UCode: Rename variable to avoid shadowing 2024-02-26 19:41:52 +01:00
Fabian Wiesel
dee59d4735 Use foojay-resolver and set all java version to 21 2024-02-26 19:41:52 +01:00
Fabian Wiesel
029e82941e Change AudioCodecDefines to simple object 2024-02-26 19:41:52 +01:00
Fabian Wiesel
b8025b2300 G711UCodec move cod out of inner run() 2024-02-26 19:41:52 +01:00
Fabian Wiesel
cf790b330b G711UCodec: Drop unused function getSampleCount 2024-02-26 19:41:52 +01:00
Fabian Wiesel
2d57b16226 Move kotlin files into its own directory 2024-02-26 19:41:52 +01:00
Fabian Wiesel
9101c01af6 Merge branch 'master' into kotlin 2024-02-26 18:21:22 +01:00
edr
775cea84a4 v1.2 2024-02-24 16:45:58 +01:00
Fabian Wiesel
cd6c4b60a6 WIP: Modernize the Stack Kotlin Edition 2024-02-23 17:57:54 +01:00
edr
946de1d65b Merge pull request #10 from fwiesel/foreground-service-child
Move Monitor Mode for Child to its own Service
2024-02-21 22:14:05 +01:00
edr
9526f23c0c More specific log message in ListenActivity.java 2024-02-21 21:21:59 +01:00
edr
30a0c26826 Minor fixup MonitorActivity.java 2024-02-21 21:21:59 +01:00
edr
1077b2e527 Minor fixup in MonitorService.java 2024-02-21 21:21:59 +01:00
Fabian Wiesel
77c8456d45 Only log the exception when unexpected
The socket is closed in another thread to stop the transmission.
That causes an exception, but that is the expected behaviour, so
do not log it.
2024-02-21 21:21:59 +01:00
Fabian Wiesel
523ee93d75 Split-off MonitorService
Same motivation as for the parent device:
The monitor activity will be quickly destroyed,
unless it is connected to a foreground service.

By moving the thread and audio listener to a service,
this should be avoided.
2024-02-21 21:21:59 +01:00