Skip to content

[1.x] E2EE does not work with dummy publishers #3552

Open
@phwang4

Description

@phwang4

What version of Janus is this happening on?
Started to not work from Janus 1.2.2

Have you tested a more recent version of Janus too?
1.2.2, 1.2.4, and 1.3.1 all have the same issue.

Was this working before?
Commit d954e0f caused it to not work. Anytime before this it is fine.

Is there a gdb or libasan trace of the issue?
N/A

Additional context
The specific error message that I am getting is "Can't have end-to-end encrypted feed in this subscription" which comes from this block:

sub_e2ee = publisher->e2ee;
if(e2ee && !sub_e2ee) {
    JANUS_LOG(LOG_ERR, "Can't have not end-to-end encrypted feed in this subscription (%s)\n", feed_id_str);

There should probably be some check if the publisher is dummy or not to go down this error flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions