Jump to content

Question about browser decoders


bluesaxman

Recommended Posts

Hello,

 

I didn't see a post about this, so I thought I would ask. I'm pretty sure this has something to do with fedora, because the webplayer works fine at home on chrome/firefix/qutebrowser on arch (client side), however I'm currently on a fresh install of fedora (client side) and when I try to play a move in chrome or firefox, it hangs and in the js console I get a message about websocket problems. I added a few things to my apache config to try and fix this, but I went from a 404, to a 500 and then to a "Invalid Socket response" message. I'm wondering if I just forgot to install some library on the client side that is causing the browsers not to run the web player correctly. I checked the emby server logs and everything on the server end seems to be in order, emby even thinks the transaction was successful and shows the movie currently being played even though the web player stalled out in the browser. Nothing is showing up in the apache logs ether, so the proxypass I have set up is working fine. 

 

So my question is, could I be missing some libraries that chrome/firefox needs in order to properly talk over a webshell?

 

I will be happy to provide the logs I mentions if you would like, but I don't know that it will be necessary as both (emby server and apache error logs) are clean. 

Link to post
Share on other sites

Hi, the web socket is only used for notifications and won't inhibit video playback. Can you please attach the browser console output? Thanks.

Link to post
Share on other sites

No problem, here is a fresh copy of my browser console output.

triggering app resume event
apiclient.js?v=3.2.36.0:1 opening web socket with url: wss://emby.murkfall.net/socket?api_key=89016de32d3d4ae8a32a65d189d3e70f&deviceId=85e3cc5f1ac15227d12caa946e8e5eeb2ba2d087
VM42:164 WebSocket connection to 'wss://emby.murkfall.net/socket?api_key=89016de32d3d4ae8a32a65d189d3e70f&deviceId=85e3cc5f1ac15227d12caa946e8e5eeb2ba2d087' failed: Error during WebSocket handshake: Invalid status line
WrappedWebSocket @ VM42:164
ApiClient.openWebSocket @ apiclient.js?v=3.2.36.0:1
ApiClient.ensureWebSocket @ apiclient.js?v=3.2.36.0:1
onAppResume @ router.js?v=3.2.36.0:1
(anonymous) @ events.js?v=3.2.36.0:1
trigger @ events.js?v=3.2.36.0:1
onAppVisible @ apphost.js?v=3.2.36.0:1
apiclient.js?v=3.2.36.0:1 web socket closed
apiclient.js?v=3.2.36.0:1 nulling out web socket
itemdetailpage.js?v=3.2.36.0:2 [Violation] 'click' handler took 155ms
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Users/a42a8cb19c30453e914e40ec1d96a28d/Items/4a763e8fb2e5319a8673b621362d297c/Intros
registrationservices.js?v=3.2.36.0:1 validateFeature: playback
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Items/4a763e8fb2e5319a8673b621362d297c/PlaybackInfo?UserId=a42a8cb19c30453e914e40ec1d96a28d&StartTimeTicks=0&AutoOpenLiveStream=true&MaxStreamingBitrate=342857143
plugin.js?v=3.2.36.0:1 playing url: https://emby.murkfall.net/Videos/4a763e8fb2e5319a8673b621362d297c/stream.mov?Static=true&mediaSourceId=4a763e8fb2e5319a8673b621362d297c&deviceId=85e3cc5f1ac15227d12caa946e8e5eeb2ba2d087&api_key=89016de32d3d4ae8a32a65d189d3e70f&Tag=b9b44312e18b786859f47ca4b148f2ee
playbackmanager.js?v=3.2.36.0:1 Active player: {"name":"Html Video Player","id":"htmlvideoplayer","playerName":"Html Video Player","playableMediaTypes":[false,true,false,false,false],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","SetMaxStreamingBitrate","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode","ToggleFullscreen","SetBrightness"]}
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Sessions/Playing
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Sessions/Playing/Progress
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Sessions/Playing/Progress
playbackmanager.js?v=3.2.36.0:2 playbackmanager playback error type: mediadecodeerror
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Items/4a763e8fb2e5319a8673b621362d297c/PlaybackInfo?UserId=a42a8cb19c30453e914e40ec1d96a28d&StartTimeTicks=0&AutoOpenLiveStream=true&AudioStreamIndex=1&EnableDirectPlay=false&EnableDirectStream=false&AllowVideoStreamCopy=false&MediaSourceId=4a763e8fb2e5319a8673b621362d297c&MaxStreamingBitrate=342857143
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Videos/ActiveEncodings?deviceId=85e3cc5f1ac15227d12caa946e8e5eeb2ba2d087
plugin.js?v=3.2.36.0:1 playing url: https://emby.murkfall.net/videos/4a763e8fb2e5319a8673b621362d297c/master.m3u8?DeviceId=85e3cc5f1ac15227d12caa946e8e5eeb2ba2d087&MediaSourceId=4a763e8fb2e5319a8673b621362d297c&VideoCodec=h264&AudioStreamIndex=1&VideoBitrate=342761238&AudioBitrate=95905&PlaySessionId=dcf776ddd23a4c55be00c4401beb0624&api_key=89016de32d3d4ae8a32a65d189d3e70f&CopyTimestamps=false&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&Tag=b9b44312e18b786859f47ca4b148f2ee&RequireAvc=true&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerBitrateExceedsLimit&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&allowVideoStreamCopy=false
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Sessions/Playing/Progress
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Sessions/Playing/Progress
[Violation] 'readystatechange' handler took 185ms
2htmlmediahelper.js?v=3.2.36.0:1 HLS Error: Type: mediaError Details: bufferAddCodecError Fatal: false
apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Sessions/Playing/Progress
apphost.js?v=3.2.36.0:1 app is hidden
4apiclient.js?v=3.2.36.0:1 Requesting url without automatic networking: https://emby.murkfall.net/Sessions/Playing/Progress

Let me know if you need anything else I'll be happy to provide it. 

  • Like 1
Link to post
Share on other sites
bluesaxman

Sorry about the delay, I was not able to get to the problem computer this weekend to do further troubleshooting. I'm not sure I understand your request? Are you asking me to test with another video? or is the log format not correct?

 

Thanks

 

P.S. I'm going to do some testing tonight with identical browsers on different systems to see if its the browser (which I highly suspect it is)

 

EDIT: Ok confirmed, known working browser on one computer does not work on the other computer for the webplayer.

Edited by bluesaxman
Link to post
Share on other sites
bluesaxman

Figured it out, no media codecs were installed on this computer, after installing vlc and its addons, and then restarting the browser, now everything is working. I feel like a dummy. This thread can be closed, unless others fall into the same problem. 

  • Like 1
Link to post
Share on other sites

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...