Giter Site home page Giter Site logo

dlna-dart's Introduction

succlz123's github stats

dlna-dart's People

Contributors

succlz123 avatar zhangweiii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dlna-dart's Issues

Get audio data from DLNA device

Hello @succlz123 ,
i just found this cool project because i wanted to create an audio player with flutter. However i'm not really sure where to start, what functionality is missing. If you could give me a headsup what is required, i'd also happily contribute.
Thanks

why reusePort?

E/Dart ( 1417): Dart Socket ERROR: ../../third_party/dart/runtime/bin/socket_android.cc:147: reusePort not supported for Android.
I/chatty ( 1417): uid=10130(com.orange.lion) 1.ui identical 1 line
I/flutter ( 1417): Sending from 0.0.0.0:1900
I/flutter ( 1417): Sending from 127.0.0.1:1900
I/flutter ( 1417): Sending from 192.168.50.12:1900

Do not work on iOS

Dear Author,I have a question。
Why can't I find a device when I run on IOS? It's OK on Android

Content size exceeds specified content length.1091bytes written while expected 1086.

Snipaste_2020-06-18_15-12-12
当设置title为中文时会报错:Content size exceeds specified content length.
修复这个问题的方法是,在文件 \lib\src\soap\soap_action.dart 的第45行,把 headers.contentLength = content.length ,修·改为 headers.contentLength = utf8.encode(content).length,因为中文字符在 UTF-8 编码后的长度不等于原字符串长度。(1中文字符=2英文字符)


The error occurs when setting the title to Chinese: Content size exceeds specified content length.
The way to fix this problem is to add it to the file \lib\src\soap\soap_action. dart on line 45 and replace headers.contentLength = content.length , amend - to headers. contentLength = utf8.encode(content).length,because the length of Chinese characters after UTF-8 encoding is not equal to the length of the original string. (1 Chinese character = 2 English characters)

ios devices joinMulticast throw error

Now has error when i search on ios devices. It works as expected on Android.

OS Error: Can't assign requested address, errno = 49
flutter: #0 _NativeSocket.nativeJoinMulticast (dart:io-patch/socket_patch.dart:1379:56)
#1 _NativeSocket.joinMulticast (dart:io-patch/socket_patch.dart:1331:5)
#2 _RawDatagramSocket.joinMulticast (dart:io-patch/socket_patch.dart:2127:13)
#3 SSDPController.start (package:dlna/src/ssdp/ssdp_controller.dart:89:17)

#4 SSDPController.startSearch (package:dlna/src/ssdp/ssdp_controller.dart:143:13)
#5 DLNAManager._search (package:dlna/src/dlna_manager.dart:82:27)
#6 DLNAManager.startSearch (package:dlna/src/dlna_manager.dart:69:7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.