Skip to content

tai2/WebSocketBulkTransferDemo_iOS

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

WebSocketBulkTransferDemo for iOS

What is this?

An experiment on bulk data transfer from native codo to JavaScript in WebView using WebSocket.

Features

  • In-app minimum WebSocket server only works for this demonstration.
  • 1MB payload size buffered up to 10MB.
  • Data buffer is filled at 100ms interval.
  • Data in buffer is sent until socket buffer is filled up continuously.

Problem

  • WebSocket received data accumrates increasingly and are not released. Finally, this causes the app crashes.

Result

  • About 110 Mbps recorded at 1MB chunk on 1G iPad mini.
  • Because of the problem, this way is not useful.

About

An experiment on bulk data transfer from native codo to JavaScript in WebView using WebSocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published