Skip to content

Commit

Permalink
Add metadata to listpublishers
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Malaev committed Nov 13, 2024
1 parent ace3900 commit 4ae222b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -6960,6 +6960,8 @@ static json_t *janus_videoroom_process_synchronous_request(janus_videoroom_sessi
json_object_set_new(pl, "legacy", p->legacy ? json_true() : json_false());
if(p->display)
json_object_set_new(pl, "display", json_string(p->display));
if(p->metadata)
json_object_set_new(pl, "metadata", json_deep_copy(p->metadata));
if(p->server_id)
json_object_set_new(pl, "server_id", json_string(p->server_id));
if(p->contour) {
Expand Down

0 comments on commit 4ae222b

Please sign in to comment.