Wim Taymans
acbe75d9a1
rtp-stream: senum -> seqnum
2023-10-09 11:12:21 +02:00
Christian Glombek
cbac8c9040
module-rtp/stream: Add support for RAOP
2023-10-09 10:52:25 +02:00
Christian Glombek
8704aaa044
module-rtp/stream: Add getter for pw_stream state
2023-10-09 10:52:25 +02:00
Christian Glombek
89d935c9f6
module-rtp/stream: Add setter for property
2023-10-09 10:52:25 +02:00
Christian Glombek
1200bd7d20
module-rtp/stream: Add getter for property
2023-10-09 10:52:25 +02:00
Christian Glombek
35330cf461
module-rtp/stream: Add param_changed method
...
This method can be used to access the param_changed method of the
underlying pw_stream.
Also adds new public functions rtp_stream_set_param and
rtp_stream_update_params which plum things through to pw_stream_set_param
and pw_stream_update_params respectively.
2023-10-09 10:52:25 +02:00
Christian Glombek
9eba60a635
module-rtp/stream: Add ability to set marker on first packet
2023-10-09 10:52:25 +02:00
Wim Taymans
126e03ec73
rtp: add option to ignore SSRC
...
This is useful when there is a fixed receiver and the sender can be
restarted.
2023-07-06 12:55:28 +02:00
Dmitry Sharshakov
991e3928d4
rtp-stream: do not set false ptime values
2023-06-20 06:51:30 +00:00
Sebastian Jaeckel
d08439316b
rtp/stream: calculate and format the ptime property as float
2023-05-24 08:32:42 +00:00
Wim Taymans
026c55c0ce
module-rtp: don't deref io_position when NULL
2023-03-16 11:26:20 +01:00
Wim Taymans
51a970f5b7
module-rtp: fix writing of audio samples
...
Always write samples according to the current write position, only use
the graph timestamp to align.
2023-03-13 15:14:41 +01:00
Wim Taymans
6230154677
module-rtp: include config.h to get HAVE_OPUS
2023-03-13 12:50:32 +01:00
Wim Taymans
59d5d93878
module-rtp: fix compilation without opus
2023-03-12 19:04:14 +01:00
Wim Taymans
345582dd15
module-rtp: add opus encoding
2023-03-12 18:40:36 +01:00
Wim Taymans
bcc052f5f1
module-rtp: move stream init to specific media types
...
Move the stream function setup to a stream specific method.
Keep a separate stream format, that can be different later from the
rtp format once we add encoding.
Rename some methods to make them more unique.
2023-03-12 18:40:36 +01:00
Wim Taymans
f3230ca2e6
module-rtp: fix sender latency
...
The sender should ask for a latency that matches the packet size, not
the playout latency, that is for the receiver only.
2023-03-10 17:29:43 +01:00
Wim Taymans
2429674970
Merge branch 'master' into 'fix_san_build'
...
# Conflicts:
# src/modules/module-rtp/apple-midi.h
2023-03-10 10:10:25 +00:00
Wim Taymans
f841a0d3f1
module-rtp: send journal feedback
...
Parse the journal and send feedback.
Handle the NO and RS commands.
2023-03-10 10:47:03 +01:00
Barnabás Pőcze
82e30d46a9
pipewire: module-rtp: fix compilation with UBSan
...
The type of `0xffff` is `int`, and UBSan does not like
when that value is shifted left by 16 bits, which causes
e.g.
case APPLE_MIDI_CMD_IN:
to not compile with the following error:
error: case label does not reduce to an integer constant
One could use `0xffffu` to force the type to be `unsigned int`,
or simply use `0xffff0000` which has no shifts. This patch
does the latter.
2023-03-10 00:00:51 +01:00
Barnabás Pőcze
57cd5611d1
pipewire: module-rtp: add missing include
...
Include `stdint.h` in `apple-midi.h` to make it self-contained.
2023-03-10 00:00:32 +01:00
Wim Taymans
c5effbd979
module-rtp: add timer for ck requests
...
Scale RTP timestamps against the clock, allow some jitter.
Make method to query current RTP timestamps.
2023-03-09 13:14:23 +01:00
Wim Taymans
8e5b9da177
module-rtp: fix direct timestamps
...
fix some other properties.
2023-03-09 13:14:23 +01:00
Wim Taymans
933743581b
module-rtp: fix rtp.media property
...
Use sess.media for the media type (audio/midi) because rtp.media is used
in the SDP to describe the media (midi and audio are both are audio).
2023-03-09 13:14:22 +01:00
Wim Taymans
be09198249
module-rtp: port source and sink to new stream
2023-03-09 13:14:22 +01:00
Wim Taymans
7a31278511
module-rtp: improve properties and some cleanups
2023-03-09 13:14:22 +01:00
Wim Taymans
c46e021734
module-rtp: improve properties
...
Improve refclk and ts-offset handling.
Add some more properties to avahi
2023-03-09 13:14:22 +01:00
Wim Taymans
2c28047370
module-rtp: make the streams sink/source
2023-03-09 13:14:22 +01:00
Wim Taymans
bf9236ec8d
module-rtp: improve node name and description
...
Don't auto connect audio either. There are more meant as source/sink
pairs.
2023-03-09 13:14:21 +01:00
Wim Taymans
dda5ed696b
module-rtp: fix sender timestamps
2023-03-09 13:14:21 +01:00
Wim Taymans
7c04b42e38
module-rtp: improve properties
2023-03-09 13:14:21 +01:00
Wim Taymans
7da031c969
module-rtp: add new rtp-session module
...
The module uses the apple session setup for managing peer connections.
Make a generic rtp stream object, make midi and audio implementations.
2023-03-09 13:14:21 +01:00
Wim Taymans
fbd068977c
module-rtp: Add rtp-midi support
...
Add rtp-midi support with the media.type = midi option
2023-02-16 16:47:29 +01:00
Barnabás Pőcze
934ab3036e
treewide: use SPDX tags to specify copyright information
...
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Wim Taymans
38f908e758
rtp: add SAP parsing
2022-10-05 21:42:36 +02:00