Skip to content

usage clarification #204

@malytomas

Description

@malytomas

Several questions on how to use the library (as an agent only):

  1. When do I call juice_get_local_description? Can I call it immediately after juice_create or should I give the agent some time for connecting to the stun server?

  2. Can I call juice_get_local_description on both agents before calling any juice_set_remote_description? Or do I always have to wait with one agent to receive description from the first agent?

  3. Can or should I call juice_set_remote_description repeatedly on same agent? Should I repeatedly exchange descriptions between agents?

  4. When do I call juice_gather_candidates? Do I always call it immediately after first juice_set_remote_description, or are there any reasons to delay it or not to call it?

  5. After the agent is completed, do I have to use juice_send for my connection, or can I use juice_get_selected_addresses and create new socket for my communication?

  6. Which, if any, juice functions block?

  7. Are there any observable differences for me for using different concurrency models?

Thanks for your help ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions