Jump to content

Seeking in hour long audio tracks hangs the web player


florihupf

Recommended Posts

florihupf

Am I holding it wrong?

 

Repro:

 

a) Play and ~70min mp3.

B) 30second in seek to ~45min.

 

Result:

 

Audio stops. Web Player hangs.

 

Thanks for any pointers!

 ~ Florian

 

Link to comment
Share on other sites

florihupf

Hi there, thanks for the pointers.  This looks like is where it happens:

2020-06-09 15:11:07.577 Info HttpServer: HTTP POST http://url.com:8096/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
2020-06-09 15:11:07.580 Info HttpServer: HTTP Response 204 to 13.18.68.21. Time: 3ms. http://url.com:8096/Sessions/Playing/Progress

2020-06-09 15:11:17.832 Info HttpServer: HTTP POST http://url.com:8096/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
2020-06-09 15:11:17.834 Info HttpServer: HTTP Response 204 to 13.18.68.21. Time: 2ms. http://url.com:8096/Sessions/Playing/Progress

2020-06-09 15:11:21.141 Info HttpServer: HTTP GET http://url.com:8096/socket?deviceId=51bae840-1ad3-40cc-a245-a3ee03cc4c15. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
2020-06-09 15:11:21.142 Info HttpServer: HTTP Response 404 to 13.18.68.21. Time: 0ms. http://url.com:8096/socket?deviceId=51bae840-1ad3-40cc-a245-a3ee03cc4c15
2020-06-09 15:11:22.465 Info HttpServer: SocketException: http://url.com:8096/Audio/15737/universal?UserId=dc0525f0636c4f4f9bde8e6bb48f87ea&DeviceId=51bae840-1ad3-40cc-a245-a3ee03cc4c15&MaxStreamingBitrate=1500000&Container=opus%2Cmp3%7Cmp3%2Cmp2%2Cmp3%7Cmp2%2Cm4a%7Caac%2Cflac%2Calac%2Cm4a%7Calac%2Cwebma%2Cwebm%2Cwav%7CPCM_S16LE%2Cogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&api_key=df42e2c8deed41b6972580cfde4d4380&PlaySessionId=1591718774324&StartTimeTicks=0&EnableRedirection=true
2020-06-09 15:11:22.465 Info HttpServer: HTTP Response 206 to 13.18.68.21. Time: 417225ms. http://url.com:8096/Audio/15737/universal?UserId=dc0525f0636c4f4f9bde8e6bb48f87ea&DeviceId=51bae840-1ad3-40cc-a245-a3ee03cc4c15&MaxStreamingBitrate=1500000&Container=opus,mp3|mp3,mp2,mp3|mp2,m4a|aac,flac,alac,m4a|alac,webma,webm,wav|PCM_S16LE,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1591718774324&StartTimeTicks=0&EnableRedirection=true

2020-06-09 15:11:22.507 Info HttpServer: HTTP GET http://url.com:8096/Audio/15737/universal?UserId=dc0525f0636c4f4f9bde8e6bb48f87ea&DeviceId=51bae840-1ad3-40cc-a245-a3ee03cc4c15&MaxStreamingBitrate=1500000&Container=opus,mp3|mp3,mp2,mp3|mp2,m4a|aac,flac,alac,m4a|alac,webma,webm,wav|PCM_S16LE,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1591718774324&StartTimeTicks=0&EnableRedirection=true. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
2020-06-09 15:11:22.508 Info MediaInfoService: User policy for florihupf. EnableAudioPlaybackTranscoding: True

2020-06-09 15:11:22.544 Info HttpServer: HTTP POST http://url.com:8096/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
2020-06-09 15:11:22.545 Info HttpServer: HTTP Response 204 to 13.18.68.21. Time: 1ms. http://url.com:8096/Sessions/Playing/Progress

2020-06-09 15:11:32.799 Info HttpServer: HTTP POST http://url.com:8096/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
2020-06-09 15:11:32.800 Info HttpServer: HTTP Response 204 to 13.18.68.21. Time: 1ms. http://url.com:8096/Sessions/Playing/Progress

I tried to see if there is a transcoding setting somewhere to disable, but I am not sure if I found it.  The media should be a plain mp3.  Also for very short seeks (like 30s) the web player comes back after 15s or so.

 

Now that i think about it, maybe that has to do with me running emby behind an apache proxy.  Because directly connecting to it on port 8096 seems to work.

Edited by florihupf
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...