module-rtp: Add source/destination.ip to props

Make it possible to change source.ip in module-rtp-source and
destination.ip in module-rtp-sink.
This commit is contained in:
Jonas Holmberg 2024-02-06 15:04:43 +01:00 committed by Wim Taymans
parent e84184f28f
commit 4715fa1775
4 changed files with 187 additions and 50 deletions

View file

@ -44,6 +44,8 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core,
void rtp_stream_destroy(struct rtp_stream *s);
int rtp_stream_update_properties(struct rtp_stream *s, const struct spa_dict *dict);
int rtp_stream_receive_packet(struct rtp_stream *s, uint8_t *buffer, size_t len);
uint64_t rtp_stream_get_time(struct rtp_stream *s, uint64_t *rate);