Questions tagged [rtcdatachannel]
88 questions
1
vote
3 answers
Webrtc Data channel server to client
I'm trying to create a webrtc data channel between client to server.
(the data is different between each client so i need a unique connection between each client to my server)
After some research i concluded that i need to use a turn server and when…

avi dahan
- 539
- 3
- 19
1
vote
1 answer
WebRTC issue with File transfer in production application
Hello I am developing a WebRTC based file transfer application.I have deployed the application online using Heroku. But there seems to be a problem with file transfer specifically at the the receiving end which I have been unable to figure out. The…

Fateh AK
- 386
- 5
- 20
1
vote
0 answers
Retain RTCDataChannel connection to be used in multipage application/ best place to store RTCDataChannel object on a multipage application
Scenario :
I have a multi-page application in which RTCDataChannel is generated between recently logged in users(2users to be precise).
With in the application, there is a left menu which has links to different pages(all on the same domain).
both…

rahul
- 366
- 1
- 5
- 21
1
vote
0 answers
Should I worry about home routers support of RTCDataChannel?
RTCDataChannel is a part of WebRTC and is used for p2p messaging over SCTP.
I'm seeing some answers on stackoverflow where people mention growing browser support
https://stackoverflow.com/a/14539939/1267910
However, I'm wondering if browser support…

Georgii Oleinikov
- 3,865
- 3
- 27
- 27
1
vote
1 answer
WebRTC Data Channel connection established but messages do not come
I am having trouble receiving WebRTC Data Channels messages between two peers.
Below is an MVP where both peers are one the same page and signalling channel is replaced with plain JavaScript object exchange.
I do not use trickle ICE by choice and I…

Tomáš Hübelbauer
- 9,179
- 14
- 63
- 125
1
vote
0 answers
How to verify integrity of files passed via webrtc?
I created a page which allows to transfer files using RTCPeerConnection and datachannels.
I need somehow to make sure that received and transferred file are exact the same, to be specific that none of packages has been lost nor bad guys in the…

deathangel908
- 8,601
- 8
- 47
- 81
1
vote
1 answer
Which kind of protocol packet that RTCDataChannel use to init the connection?
I know RTCDataChannel is using SCTP to init the connection but seems to it doesn't use SCTP packet (which have DATA Chunk,etc..) to init the connection, it use SDP packet.
When I tried with this demo and see the console it send the packet like…

Bui Quang Huy
- 1,784
- 2
- 17
- 50
1
vote
0 answers
Standardized file or data transfer over WebRTC Data Channel
We are developing a webrtc application that uses data channel in order to transfer data, especially file.
After some investigation, I have came up with solutions in following links,…

Uğurcan Şengit
- 976
- 1
- 11
- 31
1
vote
1 answer
WebRTC: When using blob and when arraybuffer for dataChannel.binaryType?
To send binary data via the WebRTC/RTCDataChannel binaryType can be set either to "blob" or "arraybuffer".
dataChannel.binaryType = "blob";
dataChannel.binaryType = "arraybuffer";
I can't find out in what cases binary data should be send as blob…

David
- 93
- 10
1
vote
1 answer
WebRTC DataChannel buffered full
At first, I hope you understand that I'm not good at english.
For file transfer, in Mesh topology, in Chrome,
When buffered amount is 16MB, the channel is closed with an error message.
"Uncaught NetworkError: Failed to execute 'send' on…
user5270997
1
vote
3 answers
Creating meta-data for binary chunks for sending via WebRTC datachannel
I have a datachannel connection between two browsers, and would like to break a file into chunks and send them to/from the clients.
I can read the file and break it up into chunks just fine. However I need a way for the receiving client to…

Nick Jennings
- 3,853
- 6
- 30
- 45
1
vote
1 answer
WebRTC onMessage() does not trigger on Android
I have tried to implement datachannel on Android. I successfully send the data from android to web using datachannel.
However, whenever I try to send the data from the web to android, android doesn't receive the data and onMessage() is never…

SamFast
- 1,054
- 2
- 16
- 31
1
vote
3 answers
Webrtc datachannels: saving data in file during transfer of big files
I'm using the WebRTC data channels to build a file transfer service.
Its going quite good with smaller files, under 30 Mb or so. Right now on the receiving end I am simply saving the file data in memory, when all data is transferred I save the…

PvPlatten
- 530
- 6
- 14
1
vote
1 answer
Android WebRTC DataChannel binary transfer mode
I achieved to transfer data between two android phones using WebRTC's DataChannel :
On one side, I send the data:
boolean isBinaryFile = false;
File file = new File(path); // let's assume path is a .whatever file's path (txt, jpg, pdf..)…

lmo
- 497
- 5
- 23
1
vote
1 answer
webrtc datachannel code not working in FF but working well in Chrome
I made a very simple chat app using webrtc datachannel. This works pretty well in Chrome - Chrome, but not works at all in FF - Chrome, Chrome - FF, FF - FF. This is my full code with angular
var PeerConnection = window.RTCPeerConnection ||…

Moonrise
- 113
- 1
- 7