Jump to content


Photo
- - - - -

Playback in browser will randomly pause and cannot be resumed without restarting stream (Brave browser)


  • Please log in to reply
7 replies to this topic

#1 ezzah OFFLINE  

ezzah

    Member

  • Members
  • 22 posts
  • Local time: 10:15 PM

Posted 31 March 2020 - 02:16 AM

I would preface this by saying that this was experienced by one of my users. I have looked through embyserver logs and transcode/remux logs but could not find anything of note. However, the user did find that in console this error would appear when the playback would pause and could not be resumed:

Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22

Any thoughts what this javascript error may mean? Is it a client-side issue? 


  • aplusm likes this

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 08:15 AM

Posted 31 March 2020 - 12:58 PM

Hi there, can you attach the complete console contents? Thanks.



#3 aplusm OFFLINE  

aplusm

    Newbie

  • Members
  • 5 posts
  • Local time: 11:15 PM

Posted 01 April 2020 - 01:50 AM

Hi Luke, I experienced this particular promise exception in Chrome, but didn't get a chance to capture a screenshot when playback stopped.

 

I did experience the 'random pause in playback' again, but this time on Safari, in the console, the logs were a bit different. I thought may still be relevant to trying to fix this problem, could be different factors but producing the same outcome of stopped playback


I'll keep an eye out for more of these client-side console logs whenever this happens.

5e842af155786_ScreenShot20200331at200626



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 08:15 AM

Posted 02 April 2020 - 01:09 AM

Can we go over an example of what you're playing? thanks.



#5 aplusm OFFLINE  

aplusm

    Newbie

  • Members
  • 5 posts
  • Local time: 11:15 PM

Posted 04 April 2020 - 09:26 AM

I just encountered this error just now, and managed to grab a screenshot, as well as the full browser console logs. See attached below.

System Info:
- Browser: Brave v1.15.15 (Chromium-based browser)
-- Only active extension for Emby app is 1Password. I disabled any uBlock Origin & Brave Shield (adblockers) when I started encountering these issues.
- OS: macOS 10.15.4
- Hardware: Macbook Pro 13-inch (Retina, Early 2015)
 

Here's exactly how it unfolded:

I was watching Supernatural S13E09, and at minute 39:31.. the playback suddenly stopped. When I hovered to check, the play button was toggled (as if it got paused). I immediately grabbed a screenshot, and copied the full log which should show the log since I opened the web app.

At the timestamps where the playback stopped (towards end of the log), I can see those "bufferStalledError" and "bufferFullError" errors I captured before.. and when I tried to press 'play' again, to try to see if it will resume.. I got the 'uncaught promise DOM exception' error that @ezzah posted. The playback never resumed obviously, regardless of how long I wait.

 

Attached File  Screen Shot 2020-04-05 at 00.13.09.png   447.58KB   0 downloadsAttached File  emby_console_masked.txt   25.86KB   1 downloads


Edited by aplusm, 04 April 2020 - 09:41 AM.

  • ezzah likes this

#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 08:15 AM

Posted 05 April 2020 - 05:04 PM

OK i guess we'll have to do some brave testing. Thanks for reporting.



#7 aplusm OFFLINE  

aplusm

    Newbie

  • Members
  • 5 posts
  • Local time: 11:15 PM

Posted 05 April 2020 - 09:27 PM

I just wanted to clarify on the browser part. I encountered this problem on BOTH Safari and Brave, not exclusively Brave. You'll see in my post #3 that the screenshot of a similar error in the console, is in the Safari Console viewer.

 

So the problem (and the exact error) I encountered was on both Safari and Brave.. I just happened to be using Brave when it happened again, and managed to get you the full logs :)

 

I'm using the latest Safari 13.1 on macOS 10.15.4 Catalina FYI

 

I have started using Firefox today, and will see if I encounter it on Firefox as well.


Edited by aplusm, 05 April 2020 - 09:27 PM.


#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 08:15 AM

Posted 05 April 2020 - 11:05 PM

Ok great, thanks for the info.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users