Skip to content

Dual-Stack Endpoints#431

Merged
stefankiesz merged 11 commits intodualstack-release-v2.4.5from
dual-stack-support
Dec 19, 2025
Merged

Dual-Stack Endpoints#431
stefankiesz merged 11 commits intodualstack-release-v2.4.5from
dual-stack-support

Conversation

@stefankiesz
Copy link
Copy Markdown
Contributor

@stefankiesz stefankiesz commented Mar 13, 2025

Issue #, if available:
N/A

Description of changes:

  • Added radio buttons to control the useDualStackEndpoints parameter of AWS.KinesisVideo client instances.
  • Spaced out all the headings to not be so crammed.
  • Added dual-stack STUN server url to be used when in dual-stack mode.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@stefankiesz stefankiesz marked this pull request as ready for review April 12, 2025 00:20
@stefankiesz stefankiesz changed the title Dual stack support Preparation for Dual-Stack AWS Endpoint Support Apr 12, 2025
sirknightj
sirknightj previously approved these changes Apr 24, 2025
unicornss
unicornss previously approved these changes Apr 25, 2025
@sirknightj sirknightj added the Samples Questions related to Samples label May 13, 2025
@stefankiesz stefankiesz changed the base branch from old-develop to develop October 29, 2025 16:05
@stefankiesz stefankiesz dismissed stale reviews from unicornss and sirknightj October 29, 2025 16:05

The base branch was changed.

@@ -351,7 +352,11 @@ async function getIceServersWithCaching(formValues) {

// Add the STUN server unless it is disabled
if (!formValues.natTraversalDisabled && !formValues.forceTURN && formValues.sendSrflxCandidates) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Would it be possible to add something for GovCloud STUN since those domain names will have -fips in them?

Something like this?

    if (!formValues.natTraversalDisabled && !formValues.forceTURN && formValues.sendSrflxCandidates) {
        let fipsSuffix  = formValues.region.includes("gov" ) ? "-fips" : "";
        iceServers.push({ urls: `stun:stun.kinesisvideo.${formValues.region}.amazonaws.com:443` });
        if (formValues.useDualStackEndpoints) {
            iceServers.push({ urls: `stun:stun.kinesisvideo${fipsSuffix}.${formValues.region}.api.aws:443` });
        } else {
            iceServers.push({ urls: `stun:stun.kinesisvideo${fipsSuffix}.${formValues.region}.amazonaws.com:443` });
        }
    }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi Griffin, we will look into this for a future release, but this will not be in scope for the upcoming release.

@stefankiesz stefankiesz changed the title Preparation for Dual-Stack AWS Endpoint Support Dual-Stack Endpoints Dec 17, 2025
@stefankiesz stefankiesz changed the base branch from release-v2.4.5 to copy-release-v2.4.5 December 19, 2025 22:38
@stefankiesz stefankiesz deleted the branch dualstack-release-v2.4.5 December 19, 2025 22:39
@stefankiesz stefankiesz reopened this Dec 19, 2025
@stefankiesz stefankiesz changed the base branch from copy-release-v2.4.5 to dualstack-release-v2.4.5 December 19, 2025 22:41
@stefankiesz stefankiesz merged commit c99d5b6 into dualstack-release-v2.4.5 Dec 19, 2025
2 checks passed
@stefankiesz stefankiesz deleted the dual-stack-support branch December 19, 2025 22:42
stefankiesz added a commit that referenced this pull request Dec 19, 2025
* Add check-box field for controlling dual-stack endpoint mode

* Space out header top margins

* Update info message

* Change input field to a switch, reposition it

* Revert redundant change

* Add dual-stack stun endpoint

* Update UI of dual-stack control

* Fix custom endpoint with dualStack enabled case

* Update the customEndpoint unset value

* Dualstack fix

* Dualstack endpoint update
@stefankiesz stefankiesz mentioned this pull request Dec 19, 2025
stefankiesz added a commit that referenced this pull request Dec 20, 2025
* Dual-Stack Endpoints (#431)

* Add check-box field for controlling dual-stack endpoint mode

* Space out header top margins

* Update info message

* Change input field to a switch, reposition it

* Revert redundant change

* Add dual-stack stun endpoint

* Update UI of dual-stack control

* Fix custom endpoint with dualStack enabled case

* Update the customEndpoint unset value

* Dualstack fix

* Dualstack endpoint update

* Address comment
stefankiesz added a commit that referenced this pull request Dec 22, 2025
* Change URL for fetching regional data (#674)

* Fix undefined channelHelper check (#675)

* Migrate to OIDC trusted publishing (#676)

* Dualstack endpoints (#682)

* Dual-Stack Endpoints (#431)

* Add check-box field for controlling dual-stack endpoint mode

* Space out header top margins

* Update info message

* Change input field to a switch, reposition it

* Revert redundant change

* Add dual-stack stun endpoint

* Update UI of dual-stack control

* Fix custom endpoint with dualStack enabled case

* Update the customEndpoint unset value

* Dualstack fix

* Dualstack endpoint update

* Address comment

* Bump version to 2.5.0 in package.json (#683)

* Bump version to 2.5.0 in package.json

* Update package-lock

---------

Co-authored-by: sirknightj <jggunawa@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Samples Questions related to Samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants