Nerixyz / instagram_mqtt

Realtime and Push Notification (FBNS) support for the instagram-private-api
MIT License
244 stars 49 forks source link

Realtime not binding to local address. #65

Closed yblok13 closed 3 years ago

yblok13 commented 3 years ago

In IgApiClient I'm binded to a local address of a hotspot I have, which works as expected. ig.request.defaults.localAddress = x.x.x.x Though, ig.realtime.connect({...}) doesn't seem to use that address.

Nerixyz commented 3 years ago

You can use ig.realtime.connect({additionalTlsOptions: {localAddress: ... }})