Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
fb83cc8
feat(iroh): add initial scaffolding for WebRTC support
anchalshivank Aug 18, 2025
908eef3
feat(iroh): add basic webrtc implementation
anchalshivank Aug 19, 2025
676a6b3
Merge branch 'main' into feature/webrtc-wasm-support
anchalshivank Aug 19, 2025
54e9423
feat(webrtc): implement actor and sender
anchalshivank Aug 27, 2025
257bdb5
feat(webrtc): add webrtc poll_recv, webrtc transport and webrtc sender
anchalshivank Sep 2, 2025
3496a19
feat(webrtc): add various builder for different transports
anchalshivank Sep 3, 2025
a559b35
Merge branch 'main' into feature/webrtc-wasm-support
anchalshivank Sep 3, 2025
219915a
fix(webrtc): fix compile errors
anchalshivank Sep 4, 2025
d4ce636
feat(webrtc): add webrtc initiation in ping action for disco
anchalshivank Sep 8, 2025
4a358f2
feat(webrtc): exchange offer via disco
anchalshivank Sep 8, 2025
b87d3f8
chore(webrtc): remove repomix.xml
anchalshivank Sep 10, 2025
7d4cfbd
feat(webrtc): add offer and answer exchange struct
anchalshivank Sep 11, 2025
dd02f37
feat(webrtc): send answer after receiving offer
anchalshivank Sep 12, 2025
b054362
feat(webrtc): add ice exchange
anchalshivank Sep 13, 2025
829a419
feat(webrtc): send ice-candidates
anchalshivank Sep 13, 2025
f446b67
feat(webrtc): exchange ice candidates
anchalshivank Sep 15, 2025
70aed13
feat(webrtc): send data via webrtc p2p
anchalshivank Sep 15, 2025
42264d9
feat(webrtc): refactor code
anchalshivank Sep 16, 2025
5aaf775
feat(webrtc): refactor code
anchalshivank Sep 16, 2025
d5c14a5
Merge branch 'main' into feature/webrtc-wasm-support
anchalshivank Sep 16, 2025
b00e5ac
feat(webrtc): fix compilation errors
anchalshivank Sep 16, 2025
4540a68
chore(webrtc): remove unneccesary code
anchalshivank Sep 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(webrtc): fix compilation errors
  • Loading branch information
anchalshivank committed Sep 16, 2025
commit b00e5acab647f03ead5334575d8b11cc43dca77c
6 changes: 0 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 12 additions & 10 deletions iroh/src/magicsock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3553,16 +3553,18 @@ impl Actor {
// forever like we do with the other branches that yield `Option`s
Some(discovery_item) = discovery_events.next() => {
trace!("tick: discovery event, address discovered: {discovery_item:?}");
let provenance = discovery_item.provenance();
let node_addr = discovery_item.to_node_addr();
if let Err(e) = self.msock.add_node_addr(
node_addr,
Source::Discovery {
name: provenance.to_string()
}) {
let node_addr = discovery_item.to_node_addr();
warn!(?node_addr, "unable to add discovered node address to the node map: {e:?}");
}
if let DiscoveryEvent::Discovered(discovery_item) = &discovery_item {
let provenance = discovery_item.provenance();
let node_addr = discovery_item.to_node_addr();
if let Err(e) = self.msock.add_node_addr(
node_addr,
Source::Discovery {
name: provenance.to_string()
}) {
let node_addr = discovery_item.to_node_addr();
warn!(?node_addr, "unable to add discovered node address to the node map: {e:?}");
}
}
// Send the discovery item to the subscribers of the discovery broadcast stream.
self.msock.discovery_subscribers.send(discovery_item);
}
Expand Down