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

@ -602,6 +602,12 @@ void rtp_stream_destroy(struct rtp_stream *s)
free(impl);
}
int rtp_stream_update_properties(struct rtp_stream *s, const struct spa_dict *dict)
{
struct impl *impl = (struct impl*)s;
return pw_stream_update_properties(impl->stream, dict);
}
int rtp_stream_receive_packet(struct rtp_stream *s, uint8_t *buffer, size_t len)
{
struct impl *impl = (struct impl*)s;