module-rtp/stream: Add setter for property

This commit is contained in:
Christian Glombek 2023-10-09 07:22:32 +02:00
parent 1200bd7d20
commit 89d935c9f6
2 changed files with 9 additions and 0 deletions

View file

@ -550,6 +550,13 @@ uint16_t rtp_stream_get_seq(struct rtp_stream *s)
return impl->seq;
}
void rtp_stream_set_first(struct rtp_stream *s)
{
struct impl *impl = (struct impl*)s;
impl->first = true;
}
int rtp_stream_set_param(struct rtp_stream *s, uint32_t id, const struct spa_pod *param)
{
struct impl *impl = (struct impl*)s;

View file

@ -50,6 +50,8 @@ uint64_t rtp_stream_get_time(struct rtp_stream *s, uint64_t *rate);
uint16_t rtp_stream_get_seq(struct rtp_stream *s);
void rtp_stream_set_first(struct rtp_stream *s);
int rtp_stream_set_param(struct rtp_stream *s, uint32_t id, const struct spa_pod *param);
int rtp_stream_update_params(struct rtp_stream *stream,