taengstagram / instagram-livestream-downloader

Instagram Live Stream Downloader
MIT License
119 stars 37 forks source link

Visibility of me in the broadcast #18

Open Modern888 opened 6 years ago

Modern888 commented 6 years ago

Describe your issue

When the live user has lost the Internet, I have these lines:

Duplicate etag 5e08fc325498b3bb59414c214c3ad64a detected 5 time(s)
Broadcast Status Check: active

Also:
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 5 time(s)
Broadcast Status Check: active
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 10 time(s)
Broadcast Status Check: active
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 15 time(s)
Broadcast Status Check: active
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 20 time(s)
Broadcast Status Check: interrupted
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 25 time(s)
Broadcast Status Check: interrupted
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 30 time(s)
Broadcast Status Check: interrupted
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 35 time(s)
Broadcast Status Check: interrupted
Duplicate etag a1f405c40e7133e78e42672fe947d6d4 detected 40 time(s)
Broadcast Status Check: interrupted

After that, the live user sees me: Modern joined. In a few seconds I again can not be seen live. I tried to use PyInstaLive, it shows that I am permanently attached - it does not suit me.

Can I fix it?

Modern888 commented 6 years ago

The problem is solved by deleting the line in the file "download":

heartbeat_info = api.broadcast_heartbeat_and_viewercount(broadcast['id'])

Errors appear in the logs, the program does not interfere with the operation.

2017-12-22 20:48:25,441 WARNING: Duplicate etag 5464070d340c01b71b7dccec14a94a55 detected 5 time(s)
2017-12-22 20:48:25,441 WARNING: Error from callback: global name 'heartbeat_info' is not defined
2017-12-22 20:48:30,992 WARNING: Duplicate etag 5464070d340c01b71b7dccec14a94a55 detected 10 time(s)
2017-12-22 20:48:30,992 WARNING: Error from callback: global name 'heartbeat_info' is not defined
2017-12-22 20:48:51,851 WARNING: Duplicate etag a5ae12aaac13523b7dcc9acbdbc6224e detected 5 time(s)
2017-12-22 20:48:51,851 WARNING: Error from callback: global name 'heartbeat_info' is not defined
2017-12-22 20:48:57,411 WARNING: Duplicate etag a5ae12aaac13523b7dcc9acbdbc6224e detected 10 time(s)
2017-12-22 20:48:57,411 WARNING: Error from callback: global name 'heartbeat_info' is not defined

I am very happy.

dvingerh commented 6 years ago

Deleting L495 will disable that function as well and you won't get any errors clogging up the console.

Modern888 commented 6 years ago

Yes, thanks for the help, it works.