Bug #2480

ST doesn't send HTTP disconnect if you cancel HTTP stream playback on connection stage

Added by Leonid Protasov almost 6 years ago. Updated over 5 years ago.

Status:FixedStart date:01/11/2015
Priority:UrgentDue date:
Assignee:Andreas Smas% Done:

100%

Category:Video playback
Target version:4.10
Found in version:4.9.64 Platform:Linux

Description

Makes streaming server think connection is still on.


Related issues

Related to Bug #2479: Showtime doesn't close HTTP connection when playing mpegts Fixed 01/11/2015

Associated revisions

Revision 043d68a0
Added by Andreas Smas over 5 years ago

Rework cancellation so we can correctly cancel media streaming at all times

Fixes #2480
Fixes #2599

Change included in version 4.9.433

History

#1 Updated by Leonid Protasov almost 6 years ago

  • Related to Bug #2479: Showtime doesn't close HTTP connection when playing mpegts added

#2 Updated by Leonid Protasov almost 6 years ago

HTTP            [DEBUG]: Connected to 192.168.0.157:8001 (id=25)
HTTP            [DEBUG]: > GET /1%3A0%3A1%3A427D%3A2BC0%3A13E%3A820000%3A0%3A0%3A0%3A HTTP/1.1
HTTP            [DEBUG]: > Range: bytes=0-4095
HTTP            [DEBUG]: > User-Agent: Showtime Linux/x86_64 4.9.76.g28cbb.dirty
HTTP            [DEBUG]: > Connection: keep-alive
HTTP            [DEBUG]: > Accept: */*
HTTP            [DEBUG]: > Accept-Encoding: identity
HTTP            [DEBUG]: > Host: 192.168.0.157:8001
HTTP            [DEBUG]: http://192.168.0.157:8001/1%3A0%3A1%3A427D%3A2BC0%3A13E%3A820000%3A0%3A0%3A0%3A: Response:
HTTP            [DEBUG]: < HTTP/1.0 200 OK
HTTP            [DEBUG]: < Connection: Close
HTTP            [DEBUG]: < Content-Type: video/mpeg
HTTP            [DEBUG]: < Server: stream_enigma2
HTTP            [DEBUG]: < 
HTTP            [DEBUG]: Opened in streaming mode
Video           [DEBUG]: Unable to compute opensub hash
HTTP            [DEBUG]: http://192.168.0.157:8001/1%3A0%3A1%3A427D%3A2BC0%3A13E%3A820000%3A0%3A0%3A0%3A: Refusing to seek to END on non-seekable file
X11             [DEBUG]: Resuming screensaver

#3 Updated by Leonid Protasov almost 6 years ago

One more case:

vp              [DEBUG]: Playing 'videoparams:{"title":"Viasat Explore","no_fs_scan":true,"canonicalUrl":"enigma2:zapTo:http%3A//192.168.0.157:Viasat%20Explore:1%3A0%3A1%3A1B8A%3A9%3A56%3A300000%3A0%3A0%3A0%3A","sources":[{"url":"http://192.168.0.157:8001/1%3A0%3A1%3A1B8A%3A9%3A56%3A300000%3A0%3A0%3A0%3A","mimetype":"video/mp2t"}]}', primary, attempt-resume
Video           [DEBUG]: Playing http://192.168.0.157:8001/1%3A0%3A1%3A1B8A%3A9%3A56%3A300000%3A0%3A0%3A0%3A
media           [DEBUG]: Settings initialized for URL enigma2:zapTo:http%3A//192.168.0.157:Viasat%20Explore:1%3A0%3A1%3A1B8A%3A9%3A56%3A300000%3A0%3A0%3A0%3A in folder: http://192.168.0.157 - XXX (TV) [enigma2:getServices:http%3A//192.168.0.157:XXX%20%28TV%29:1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.xxx__tv_.tv%22%20ORDER%20BY%20bouquet]
SVSYNC          [DEBUG]: Set to 0s
AVSYNC          [DEBUG]: Set to 0 ms
HTTP            [DEBUG]: Connected to 192.168.0.157:8001 (id=31)
HTTP            [DEBUG]: > GET /1%3A0%3A1%3A1B8A%3A9%3A56%3A300000%3A0%3A0%3A0%3A HTTP/1.1
HTTP            [DEBUG]: > Range: bytes=0-4095
HTTP            [DEBUG]: > User-Agent: Showtime Linux/x86_64 4.9.76.g28cbb.dirty
HTTP            [DEBUG]: > Connection: keep-alive
HTTP            [DEBUG]: > Accept: */*
HTTP            [DEBUG]: > Accept-Encoding: identity
HTTP            [DEBUG]: > Host: 192.168.0.157:8001
HTTP            [DEBUG]: http://192.168.0.157:8001/1%3A0%3A1%3A1B8A%3A9%3A56%3A300000%3A0%3A0%3A0%3A: Response:
X11             [DEBUG]: Suspending screensaver

#4 Updated by Leonid Protasov almost 6 years ago

  • Related to Bug #2499: ST remembers position for live mpegts streams (like 2493) and tries to restore later (regression) added

#5 Updated by Andreas Smas almost 6 years ago

  • Related to deleted (Bug #2499: ST remembers position for live mpegts streams (like 2493) and tries to restore later (regression))

#6 Updated by Andreas Smas over 5 years ago

  • Target version deleted (4.10)

#7 Updated by Andreas Smas over 5 years ago

  • Target version set to 4.10

#8 Updated by Andreas Smas over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF