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

Add Refer support. #31

Merged
merged 5 commits into from
Nov 6, 2019
Merged

Add Refer support. #31

merged 5 commits into from
Nov 6, 2019

Conversation

cloudwebrtc
Copy link
Member

@cloudwebrtc cloudwebrtc commented Oct 28, 2019

  • Fixed errors in the Refer process.
  • Separate events into public and internal.
  • Fixed DTMF/Info message sending and receiving errors.

@cloudwebrtc
Copy link
Member Author

cloudwebrtc commented Oct 28, 2019

@rlsutton1 @ghenry
General calls and Refer calls use the same EventCallXXX event and may need to separate the EventReferXXXX event?

ReferSubscriber.dart

    // Listen for ending events so we can remove it from the map.
    referSubscriber.on(EventRequestFailed(), (EventRequestFailed data) {
      this._referSubscribers.remove(id);
    });
    referSubscriber.on(EventAccepted(), (EventAccepted data) {
      this._referSubscribers.remove(id);
    });
    referSubscriber.on(EventCallFailed(), (EventCallFailed data) {
      this._referSubscribers.remove(id);
    });

like:
EventReferTrying, EventReferProgress,
EventReferAccepted, EventReferFailed,
EventReferRequestFailed.
To tell the refer initiator that the peer has successfully transferred

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.

None yet

1 participant