Closed Bug 1228192 Opened 9 years ago Closed 3 years ago

Expose TXT attributes of MDNS records in NsdMulticastDNSManager

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: chunmin, Unassigned)

References

Details

To get remote control service via mDNS, we need to use |attributes| from mDNS to get it's controlling page's path. However, it's not exposed on fennec.
See Also: → 1222306
Whiteboard: [ft:conndevices]
Now, it's impossible to get |attributes| from mDNS on android platform. The reason is that android's NsdService[0] doesn't retrieve |txtlen| and |txtdata|, which store the |attributes| data, from the receiving packets.
[0] https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/NsdService.java#472
bug 1011340 might provide an alternative way to parse the raw packets, so we might have chances to get the desired data. However, if some android app occupies the same port that we want to use before fennec is launched, then it may not work.
See Also: → 1011340
Maybe you can try to operate |mdnsd| directly just like what we did on gonk platform?
Summary: Expose |attributes| of mDNS on Fennec → Expose TXT attributes of MDNS records in NsdMulticastDNSManager
Whiteboard: [ft:conndevices]
No longer blocks: TV_Seamless_FennecSide
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.