Martin Pulec
41b0388624
rtsp server: fixed audio props
...
Do not deduce audio properties from command-line parameters but from
the actual format that is being to sent.
Until now, the properties like ch_count and sample rate was deduced from
command-line parameters (ch_count from `-a channels=` and sample rate from
`-A xxx:sample_rate`). However, this is a bit fragile - the source may not
respect the `-a` parameters and also the `-A sample_rate` doesn't need
to be set, like in the following case:
```
uv -x rtsp -A A-law -a sample_r=8000 -s testcard
```
Here the capture sample_rate is set to 8000 but not parsed from parameters
(it must have been in `-A`). So SDP parameeters for RTSP was set
incorrectly (48000).
2024-08-09 09:22:59 +02:00
..
2024-08-09 09:22:59 +02:00
2024-08-02 16:50:09 +02:00
2024-07-29 09:10:22 +02:00
2024-08-06 16:24:52 +02:00
2023-03-30 14:01:10 +02:00
2024-08-09 09:22:55 +02:00
2024-05-13 12:56:53 +02:00
2024-05-20 10:50:22 +02:00
2024-08-09 09:22:55 +02:00
2024-08-09 09:22:59 +02:00
2024-08-08 11:16:19 +02:00
2024-08-09 09:22:59 +02:00
2024-07-11 14:56:14 +02:00
2024-05-30 16:05:09 +02:00
2024-07-30 09:20:34 +02:00
2024-08-09 09:22:59 +02:00
2024-05-29 13:39:04 +02:00
2024-07-26 09:50:02 +02:00
2024-07-26 09:50:02 +02:00
2023-07-18 16:43:37 +02:00
2023-03-14 10:31:41 +01:00
2024-06-12 10:23:07 +02:00
2024-07-29 09:10:22 +02:00
2024-05-13 12:56:53 +02:00
2023-07-18 11:09:07 +02:00
2023-09-05 09:37:07 +02:00
2023-08-10 12:04:09 +02:00
2024-06-12 14:02:42 +02:00
2024-06-12 14:02:42 +02:00
2024-05-13 12:56:53 +02:00
2024-01-22 14:56:19 +01:00
2024-03-08 16:11:47 +01:00
2024-03-08 16:11:47 +01:00
2024-07-19 12:03:49 +02:00
2024-06-03 16:39:30 +02:00
2024-05-13 12:56:53 +02:00
2024-07-01 13:53:29 +02:00
2024-05-13 12:56:53 +02:00
2024-05-13 12:56:53 +02:00
2024-07-08 16:45:38 +02:00
2024-08-09 09:22:58 +02:00
2024-05-17 13:19:49 +02:00
2024-05-17 13:19:49 +02:00
2023-10-06 08:07:19 +02:00
2023-10-06 11:19:11 +02:00
2023-10-06 11:19:10 +02:00
2023-10-06 08:07:19 +02:00
2023-08-14 16:06:15 +02:00
2024-02-07 11:31:12 +01:00
2024-07-08 16:45:38 +02:00
2024-07-08 16:45:38 +02:00
2023-11-06 16:50:27 +01:00
2023-03-09 12:30:10 +01:00
2023-03-29 12:09:38 +02:00
2023-04-11 13:10:58 +02:00
2024-08-09 09:22:59 +02:00
2024-05-30 16:05:10 +02:00
2024-05-06 15:14:48 +02:00
2024-07-08 10:21:00 +02:00
2024-05-30 16:05:10 +02:00
2024-06-25 15:08:30 +02:00
2024-05-13 12:56:53 +02:00
2023-11-06 10:13:03 +01:00
2023-11-06 10:13:03 +01:00
2024-07-08 16:45:38 +02:00
2024-07-02 16:39:38 +02:00
2023-09-15 15:36:41 +02:00
2024-05-30 16:05:09 +02:00
2023-11-08 12:59:30 +01:00
2023-04-04 14:22:52 +02:00
2023-04-04 14:22:52 +02:00
2024-08-09 09:22:55 +02:00
2023-10-16 16:19:57 +02:00
2023-08-02 10:07:19 +02:00
2024-08-09 09:22:57 +02:00
2024-05-20 10:50:22 +02:00
2024-05-07 08:42:21 +02:00
2023-06-09 16:13:11 +02:00
2023-06-09 16:13:11 +02:00
2024-05-16 09:54:22 +02:00
2024-05-16 09:54:22 +02:00
2024-07-30 09:29:43 +02:00
2024-03-25 15:29:10 +01:00
2024-03-08 16:11:48 +01:00
2024-03-08 16:11:48 +01:00
2023-02-28 16:44:42 +01:00
2024-05-28 11:47:12 +02:00
2024-05-30 16:22:26 +02:00
2024-03-22 16:04:13 +01:00
2024-05-10 15:38:02 +02:00
2024-05-30 16:05:09 +02:00
2024-05-30 16:05:09 +02:00
2024-08-09 09:22:59 +02:00
2024-08-09 09:22:59 +02:00
2024-05-31 16:04:42 +02:00
2023-05-23 09:29:39 +02:00
2023-07-18 16:43:37 +02:00
2023-07-18 16:43:37 +02:00
2023-10-27 12:18:17 +02:00