STREAMING CONTENT VIA BLOCKCHAIN TECHNOLOGY
An approach is disclosed for streaming content to a client. A request is received to receive content suitable for access by a streaming application. The content is separated into chunks C (C1, C2, . . . , Cn). The chunks are uploaded to corresponding blobbers B (B1, B2, . . . , Bn). A first pipe is utilized by the blobbers B (B1, B2, . . . , Bn) to download the chunks C (C1, C2, . . . , Cn) into a buffer. A second pipe is utilized to convert the downloaded chunks C (C1, C2, . . . , Cn) from the buffer into a byte array A (A1, A2, . . . , An) and the byte array A (A1, A2, . . . , An) is sent to a plurality of streaming services.
1 . A method that includes a processor and a local storage device accessible by the processor of streaming content to a client comprising:
receiving a request to receive content suitable for access by a streaming application;
separating the content into chunks C (C1, C2, . . . , Cn);
uploading the chunks C (C1, C2, Cn to corresponding blobbers B (B1, B2, . . . , Bn);
utilizing a first pipe to download the chunks C (C1, C2, . . . , Cn) by the blobbers B (B1, B2, . . . , Bn) into a buffer;
utilizing a second pipe to convert the downloaded chunks C (C1, C2, . . . , Cn) from the buffer into a byte array A (A1, A2, . . . , An); and
sending the byte array A (A1, A2, . . . , An) to a plurality of streaming services.
2 . The method of claim 1 , wherein the streaming content is sent to at least two platforms.
3 . The method of claim 2 , wherein the at least two platforms are selected from a group consisting of Android, IOS, Mac, Windows, Web, and Browser.
4 . The method of claim 1 , wherein the streaming content is a video file and a first 8 bytes of the video file are included in the byte array A1.
5 . The method of claim 1 , wherein a charge for streaming the content is paid an owner of the content.
6 . The method of claim 1 , wherein a charge for streaming the content is paid by the recipient of the content.
7 . The method of claim 1 , wherein a video player receives a chunk of a video through a middleware buffer through the second pipe and the first pipe write chunks to the middleware buffer from the blockchain network.
8 . The method of claim 7 , wherein a client SDK is provided to access the blockchain interfaces to stream the content.
9 . The method of claim 8 , wherein the client SDK provides support to download files by blocks, read chunked data into byte arrays, and add byte arrays to media players.
10 . The method of claim 9 , wherein a callback is provided to communicate player state to the blockchain platform.
11 . An information handling system for of streaming content to a client comprising:
one or more processors;
a memory coupled to at least one of the processors;
a network interface that connects the local device to one or more remote web sites; and
a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions comprising:
receiving a request to receive content suitable for access by a streaming application;
separating the content into Chunks C (C1, C2, . . . , Cn);
uploading the Chunks C (C1, C2, Cn to corresponding blobbers B (B1, B2, . . . , Bn);
utilizing a first pipe to download the chunks C (C1, C2, . . . , Cn) by the blobbers B (B1, B2, . . . , Bn) into a buffer;
utilizing a second pipe to convert the downloaded chunks C (C1, C2, . . . , Cn) from the buffer into a byte array A (A1, A2, . . . , An); and
sending the byte array A (A1, A2, . . . , An) to a plurality of streaming services.
12 . The information handling system of claim 11 , wherein the streaming content is sent to at least two platforms.
13 . The information handling system of claim 12 , wherein the at least two platforms are selected from a group consisting of Android, IOS Mac, Windows, Web, and Browser.
14 . The information handling system of claim 10 , wherein the streaming content is a video file and a first 8 bytes of the video file are included in the byte array A1.
15 . The information handling system of claim 11 , wherein a charge for streaming the content is paid a recipient of the content.
16 . A computer program of streaming content to a client in a computer readable storage medium, comprising computer program code that, when executed by the computer program, performs actions comprising:
receiving a request to receive content suitable for access by a streaming application;
separating the content into Chunks C (C1, C2, . . . , Cn);
uploading the Chunks C (C1, C2, Cn to corresponding blobbers B (B1, B2, . . . , Bn);
utilizing a first pipe to download the chunks C (C1, C2, . . . , Cn) by the blobbers B (B1, B2, . . . , Bn) into a buffer;
utilizing a second pipe to convert the downloaded chunks C (C1, C2, . . . , Cn) from the buffer into a byte array A (A1, A2, . . . , An); and
sending the byte array A (A1, A2, . . . , An) to a plurality of streaming services.
17 . The computer program product of claim 15 , wherein the streaming content is sent to at least two platforms.
18 . The computer program product of claim 16 , wherein the at least two platforms are selected from a group consisting of Android, IOS Mac, Windows, Web, and Browser.
19 . The computer program product of claim 15 , wherein the streaming content is a video file and a first 8 bytes of the video file are included in the byte array A1.
20 . The computer program product of claim 18 wherein a charge for streaming the content is paid an owner of the content.