[英]I want to add file transfer feature in my project, how can I do it with data channel in webRTC Flutter i didn't find any proper documentation for it
誰能給出正確的示例代碼,說明如何使用 webRTC 在 flutter 中實現文件傳輸。我已經學會了如何實時通信。 我無法找到有關 flutter webRTC 數據通道的正確文檔。
我試過它就像媒體 stream 但失敗了。
WebRTC樣本集合包含一個文件傳輸樣本: https://webrtc.github.io/samples/src/content/datachannel/filetransfer/
再舉個例子,你可能還想看看Galene中的文件傳輸代碼(免責聲明,我是作者),它在這里: https://github.com/jech/galene/blob/master/static /協議.js#L1516
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.