Skip to main content

openwatchparty 1.1.0 copy "openwatchparty: ^1.1.0" to clipboard
openwatchparty: ^1.1.0 copied to clipboard

Open Watch Party client SDK for Dart and Flutter. Join a watch party room by its code and keep your own player in sync with everyone else in it.

Changelog #

1.1.0 #

  • join(code, create: true) makes the room when no room has the code, and the party is its host. Apps use it to bring a group back to a code they used before.

1.0.0 #

The first release. It implements the client behaviour in spec/SDK.md.

  • WatchParty, with create, join, leave and close. It takes an optional resolver, and you can inject connect, nowMs and random.
  • Relays.public() for the public relays, with background and forced refresh and an injectable httpGet. Relays.at(baseUrl) for one self-hosted relay.
  • Broadcast states and events.
  • Resolver matching with probes, and the mismatch flow.
  • A PlayerAdapter that apps extend. Its play throws when the player refuses to start, and the SDK then reports loading and emits PlayBlockedEvent.
  • detachPlayer and close return release completions.
  • parseMedia, which decodes media descriptors.
  • Playback controls: play, pause, seek and setRate, and a local setOffset.
  • Host controls: setMedia, clearMedia, setControl, transferHost, kick, lock and end.
  • Reconnect and resume after a drop. A setMedia lost on the drop is sent again while the party is still host.
  • PartyException errors with ErrorCode constants.
  • Pure Dart from 3.4. It runs on native platforms, on the web and in Flutter apps.
  • A test suite that runs every table in conformance/vectors/.
0
likes
150
points
10.3k
downloads

Documentation

API reference

Publisher

verified publisheropenwatch.party

Weekly Downloads

Open Watch Party client SDK for Dart and Flutter. Join a watch party room by its code and keep your own player in sync with everyone else in it.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#watch-party #sync #websocket #video

License

Apache-2.0 (license)

Dependencies

web, web_socket

More

Packages that depend on openwatchparty