Skip to content

Conversation

@zi6xuan
Copy link
Contributor

@zi6xuan zi6xuan commented Oct 12, 2021

Add extended header support, in order to carry custom information when calling

This is an example code to get the header content

  static Map<String, dynamic> getHeaders(Call call) {
    // IncomingRequest/OutgoingRequest
    var request = call.session.request;
    if (request is IncomingRequest) {
      return request.headers;
    } else if (request is OutgoingRequest) {
      return GUIUtils.parseHeaders(request.extraHeaders);
    }
    return {};
  }

zi6xuan and others added 4 commits September 11, 2021 23:15
hangup function increase self-determination option number of participants, expedient unity communication time notification
Add extended header support, in order to carry custom information when calling
@cloudwebrtc
Copy link
Member

LGTM

@cloudwebrtc cloudwebrtc merged commit becfd50 into flutter-webrtc:master Oct 13, 2021
cloudwebrtc added a commit that referenced this pull request Feb 7, 2022
* update.

* chore: format and import short.

* Add extended header support (#232)

* hangup add the options

hangup function increase self-determination option number of participants, expedient unity communication time notification

* fix: Fix breaking changes.

* Add extended header support

Add extended header support, in order to carry custom information when calling

Co-authored-by: cloudwebrtc <duanweiwei1982@gmail.com>
Co-authored-by: 趙金元 <choukg.zw@gmail.com>

* migrate to null safety (#247)

* migrate to null safety

* fix local_seqnum

* support null safety for test folder

* fix: fix issue for digest authentication.

* chore: fix lints.

Co-authored-by: cloudwebrtc <duanweiwei1982@gmail.com>

* update.

Co-authored-by: zi6xuan <zi6xuan@gmail.com>
Co-authored-by: 趙金元 <choukg.zw@gmail.com>
Co-authored-by: viplifes <viplifes@gmail.com>
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.

2 participants