Skip to content

Add source specific multicast (SSM) to spec#81

Merged
GrapeGreen merged 1 commit intoWICG:mainfrom
kkroo:main
Nov 25, 2025
Merged

Add source specific multicast (SSM) to spec#81
GrapeGreen merged 1 commit intoWICG:mainfrom
kkroo:main

Conversation

@kkroo
Copy link
Contributor

@kkroo kkroo commented Nov 18, 2025

Per #80 this updates the specification to support both Any-Source Multicast (ASM) and Source-Specific Multicast (SSM) in the MulticastController interface


Preview | Diff

index.html Outdated
readonly attribute FrozenArray<DOMString> joinedGroups;
Promise<undefined> joinGroup(DOMString groupAddress, optional MulticastGroupOptions options = {});
Promise<undefined> leaveGroup(DOMString groupAddress, optional MulticastGroupOptions options = {});
readonly attribute FrozenArray<MulticastMembership> joinedGroups;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a breaking change. Existing code expecting the members of this array to be strings will fail if they are instead MulticastMembership dictionaries.

None of the options here are great. We can add a separate list for memberships which include a source address. Or we could define a union type and have this be DOMString if it's an ASM membership and MulticastMembership if it's an SSM membership.

@kkroo kkroo force-pushed the main branch 2 times, most recently from 36e97bc to 7a3c5ad Compare November 21, 2025 02:09
@kkroo
Copy link
Contributor Author

kkroo commented Nov 21, 2025

thanks @reillyeon

  1. Changed to FrozenArray<(DOMString or MulticastMembership)>
  2. Updated example code showing backward compatibility
  3. Added documentation explaining ASM vs SSM return types

Copy link
Collaborator

@reillyeon reillyeon left a comment

Choose a reason for hiding this comment

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

Looks good to me but @GrapeGreen should approve before merging because he's the actual editor of this document.

@reillyeon reillyeon requested a review from GrapeGreen November 22, 2025 01:53
@GrapeGreen GrapeGreen merged commit d3daa91 into WICG:main Nov 25, 2025
1 check passed
@kkroo
Copy link
Contributor Author

kkroo commented Nov 26, 2025

thank you so much @reillyeon @GrapeGreen

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.

3 participants