Tracking Service
Introduction
The "tracker" server keeps track of where file copies reside on peer machines, which ones are available at time of the client request, and helps coordinate efficient transmission and reassembly of the copied file. Clients that have already begun downloading a file communicate with the tracker periodically to negotiate faster file transfer with new peers, and provide network performance statistics; however, after the initial peer-to-peer file download is started, peer-to-peer communication can continue without the connection to a tracker.
All data cannot be shared among different zone.
Sign Up
Please click https://oms.cdnbye.com/ or https://swarmcloud.net/oms/
Select a Zone
HongKong
Select zone HongKong when sign up
SDK Config for HongKong Tracker
Web SDK
p2pConfig: {
trackerZone: 'hk',
}
// Pass p2pConfig to your P2PEngine ...
Android SDK
val config = P2pConfig.Builder()
.trackerZone(TrackerZone.HongKong)
.build()
P2pEngine.init(ctx, YOUR_TOKEN, config)
iOS SDK
let config = P2pConfig(
trackerZone: .HongKong
)
P2pEngine.setup(token: YOUR_TOKEN, config: config)
Flutter SDK
SwarmCloud.init(
YOUR_TOKEN,
config: P2pConfig(
trackerZone: TrackerZone.HongKong,
),
);
USA
Select zone USA when sign up
SDK Config for USA Tracker
Web SDK
p2pConfig: {
trackerZone: 'us',
}
// Pass p2pConfig to your P2PEngine ...
Android SDK
val config = P2pConfig.Builder()
.trackerZone(TrackerZone.USA)
.build()
P2pEngine.init(ctx, YOUR_TOKEN, config)
iOS SDK
let config = P2pConfig(
trackerZone: .USA
)
P2pEngine.setup(token: YOUR_TOKEN, config: config)
Flutter SDK
SwarmCloud.init(
YOUR_TOKEN,
config: P2pConfig(
trackerZone: TrackerZone.USA,
),
);
Europe
Select zone Europe when sign up
If using European tracker, there's no need to set tracker zone explicitly.