flutter3d_net_webrtc 0.7.0 copy "flutter3d_net_webrtc: ^0.7.0" to clipboard
flutter3d_net_webrtc: ^0.7.0 copied to clipboard

A NetTransport over a real WebRTC data channel — net-01's rollback engine, P2P, with net-02's relay carrying only the SDP/ICE handshake.

flutter3d_net_webrtc #

A flutter3d_net NetTransport over a real WebRTC data channel — part of flutter3d: net-02's primary transport, peer to peer, with the relay carrying only the SDP/ICE handshake rather than every game frame.

Its own package rather than a file in flutter3d_net, because flutter_webrtc is a real plugin with native code per platform — a dependency flutter3d_net's own claim (flat Dart, testable under plain dart test) is built specifically not to carry.

import 'package:flutter3d_net/flutter3d_net.dart';
import 'package:flutter3d_net_webrtc/flutter3d_net_webrtc.dart';

// Whoever created the room offers; the one who joined answers — both take
// the signalling transport (net-02's relay) that carries the handshake.
final transport = await WebRtcTransport.createOffer(signallingTransport);
final session = NetSession(transport: transport, /* captureLocalFrame, ... */);
0
likes
0
points
585
downloads

Publisher

unverified uploader

Weekly Downloads

A NetTransport over a real WebRTC data channel — net-01's rollback engine, P2P, with net-02's relay carrying only the SDP/ICE handshake.

Homepage
Repository (GitHub)
View/report issues

Topics

#game-development #networking #multiplayer #webrtc

License

unknown (license)

Dependencies

flutter, flutter3d_net, flutter_webrtc

More

Packages that depend on flutter3d_net_webrtc