Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multistream - Fixed lookup of participants in janus_vdeoroom.c if using string_ids #2310

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

ZeXtrasJay
Copy link

Could not subscribe to streams using string_ids, it's only manually tested

Copy link
Member

@lminiero lminiero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks! I added a single note.

guint64 feed_id = json_integer_value(feed);
janus_videoroom_publisher *publisher = g_hash_table_lookup(subscriber->room->participants, &feed_id);
guint64 feed_id;
char *feed_id_str;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please initialize both variables, and remove the empty line here.

@ZeXtrasJay
Copy link
Author

@lminiero I've updated the PR

@lminiero
Copy link
Member

lminiero commented Aug 7, 2020

@ZeXtrasJay thanks! Apologies for the delay, but starting today I'm on vacation, so I'll be slow to answer for a few weeks. Merging.

@lminiero lminiero merged commit f990e3f into meetecho:multistream Aug 7, 2020
lminiero pushed a commit that referenced this pull request Sep 2, 2020
lminiero pushed a commit that referenced this pull request Oct 30, 2020
lminiero pushed a commit that referenced this pull request Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants