/tunnel-tester

A testing platform for the @ayushbobale/tunnel-io & @ayushbobale/tunnel-react libraries

Primary LanguageTypeScript

Basic of usage TunnelIO for end users

Hosted at tunnel-tester.vercel.app I will be adding proper documentation for code usage of both the base JS package as well as the React Hook wrapper and API as well

A testing for @ayushbobale/tunnel-io and @ayushbobale/tunnel-react packages

Creation Date: Jun 30, 2024
Created By: Ayush Bobale
View most recent version on Tango.us


1. For Peer A check Is Initiator

Step 1 screenshot

2. Copy Peer A's local description [can copy the JSON from below as well]

This the SDP offer of Peer A

Step 2 screenshot

3. Now Open Peer B into a new tab or a new computer

Paste the copied local description into the input beside Set Peer button

Step 3 screenshot

4. Click on Set Peer after pasting the local description of the Peer A

Step 4 screenshot

5. Click on Copy localDescription

This creates the SDP answer to the offer of Peer A

Step 5 screenshot

6. Paste the copied offer into the Peer A's peer text input

Step 6 screenshot

7. Click on Set Peer to complete the connection

Step 7 screenshot

8. Test by sending a message from Peer A to Peer B and vice versa

Step 8 screenshot

9. Type "b"

Step 9 screenshot

10. A bootleg file transfer has been implemented although it simultaneously bi-directional file transfer is not tested

Due to the limitation in Firefox Browser for showsavefilepicker API all downloads are in-memory so larger files are not ideal to send

Step 10 screenshot

11. Click on Send File

Step 11 screenshot

12. File transfer progress is shown on both ends with send progress for sender and receive progress for receiver

Step 12 screenshot