Jump to content


Photo
3.0.6070.0

Live TV not working as of 3.0.6070.0 & 20160630atest2

20160630atest2 HDHomeRun Connect Live TV

Best Answer CBers , 04 September 2016 - 03:15 PM

Have a link to the September 2 beta? All I'm seeing is stuff from 2015.


https://www.silicond...p?f=119&t=20613 Go to the full post


  • Please log in to reply
36 replies to this topic

#1 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 20 August 2016 - 10:56 AM

As per the recommendation on another thread, I upgraded the firmware from 2015something to 20160630atest2 (not seeing how to downgrade it).  This fixed the problem on Emby Theater's ability to DirectPlay but it completely decimated Android and Android TV support.  It should be noted that I upgraded Emby Server from 3.0.6060.0 to 3.0.6070.0 at the same time.  I attached the server log.  The Leelbox MXQ Pro device it is sending it to does require transcoding done on the server.

 

-Android TV (attached) gives an error and stops transcoding on the server almost immediately.

-Android maybe only shows one frame that was transcoding and it locks up while the server continues to transcode oblivious that it is falling on deaf ears.

-Emby Theater does DirectPlay with no issues.

Attached Files


Edited by FordGT90Concept, 20 August 2016 - 10:59 AM.


#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47440 posts
  • Local time: 06:40 PM

Posted 20 August 2016 - 12:40 PM

So this is not specific to Android TV?

 

What was the error?



#3 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 20 August 2016 - 12:58 PM

The most recent test, it didn't give an error, it just sat there spinning.  Before that, it gave a "Failed to load stream" or something like that.  I seem to recall another error when attempting to start but can't recall it.

 

Here's the order of events:
‚Äč1) Updated HDHomeRun CONNECT firmware.

2) Updated Emby Server from 6060->6070

3) Tried Emby Theater on my machine: works great (no transcoding)

4) Tried Emby for Android: shows one frame (maybe) and it acts like it locked up.  Server keeps transcoding.

5) Tried Emby for Android TV: last night it worked albeit with questionable performance but this morning, it does not; the stream is failing to start.  Server transcode stops.

 

I've tried restarting Emby server as well as restarting and reconfiguring the HDHomeRun.

 

It was working fine before #1 and #2 on Android/Android TV.


Edited by FordGT90Concept, 20 August 2016 - 01:00 PM.


#4 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47440 posts
  • Local time: 06:40 PM

Posted 20 August 2016 - 01:01 PM

So it is both Android Mobile and Android TV and the thing they have in common is that they are both transcoding the stream, correct?



#5 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 20 August 2016 - 01:23 PM

Yes, which the HDHomeRun firmware apparently changed (or 6070, but more likely the firmware).

 

 

Edit: I should note that both Android apps have problems but I don't know if they're the exact same problem.  Again, neither had problems prior to step #1 and #2.


Edited by FordGT90Concept, 20 August 2016 - 02:33 PM.


#6 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 09:15 AM

I tried HDHomeRun - BETA app from the Google Play and it works but it is choppy (needs transcoding) and audio doesn't work (not sure what that is about).  It appears to be something in Emby Server doesn't play nice with the latest beta version of HDHomeRun firmware.



#7 Doonga OFFLINE  

Doonga

    Advanced Member

  • Members
  • 145 posts
  • Local time: 07:40 PM
  • LocationConnecticut

Posted 21 August 2016 - 09:22 AM

I'm using that version of the firmware and it's working just fine. Works smoothly with the hdhomerun grey app as well as Emby. I'm on 6070 and have been using a Shield as well as in chrome on a computer.

Have you tried restarting the hdhomerun? You may also want to check to see if you're having bandwidth issues on your network. Especially if direct playing over wireless.

#8 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 11:08 AM

Yeah, I've power cycled and reconfigured the HDHomeRun.  Was this on Emby for Android or Emby for Android TV?  It seems to only be transcoding that has issues.


Edited by FordGT90Concept, 21 August 2016 - 11:20 AM.


#9 Doonga OFFLINE  

Doonga

    Advanced Member

  • Members
  • 145 posts
  • Local time: 07:40 PM
  • LocationConnecticut

Posted 21 August 2016 - 11:17 AM

I've used it on both. I have a Pixel C tablet that I use Emby for Android on and then the Shields where I use Emby for Android TV.

#10 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 11:25 AM

I did notice one thing that's different.  In Emby Server Live TV, it used to show the HDHomeRun twice: <ip address> and http://<ip address>.  Because of that, it also showed up down below four times (twice for each tuner).  Now it is down to just <ip address> and two tuners.  The Android transcoding for me hasn't worked since that changed.

 

 

Edit: I tried running Emby for Android TV again.  I attached the logs.  After trying to tune to the Rio Olymics on NBC, it just sits there spinning with no error message on the Leelbox.  This is what stands out in the log:

2016-08-21 10:37:36.8754 Info HttpClient: Checking for cache file C:\Users\Lee\AppData\Roaming\Emby-Server\cache\httpclient\e1b68e771e3163dd9f1de1570ab4aaf3
2016-08-21 10:37:36.8754 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
*** Error Report ***
Version: 3.0.6070.0
Command line: C:\Users\Lee\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 8
64-Bit OS: True
64-Bit Process: True
Program data path: C:\Users\Lee\AppData\Roaming\Emby-Server
Application Path: C:\Users\Lee\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
System.IO.IOException
    at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    at SocketHttpListener.Net.ResponseStream.InternalWrite(Byte[] buffer, Int32 offset, Int32 count)
    at SocketHttpListener.Net.ResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
    at ServiceStack.Formats.HtmlFormat.SerializeToStream(IRequest req, Object response, IResponse res)
    at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse(IResponse httpRes, IRequest httpReq, String contentType, String operationName, String errorMessage, Exception ex, Int32 statusCode)
    at ServiceStack.ServiceStackHost.HandleUncaughtException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
    at ServiceStack.HostContext.RaiseAndHandleUncaughtException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
    at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException(Exception originalEx, IRequest request, IResponse response, String defaultContentType)
    at ServiceStack.HttpResponseExtensionsInternal.<WriteToResponse>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at ServiceStack.Host.RestHandler.<ProcessRequestAsync>d__13.MoveNext()
InnerException: System.Net.Sockets.SocketException
An established connection was aborted by the software in your host machine
    at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)

2016-08-21 10:37:36.8754 Info HttpServer: HTTP Response 500 to 192.168.0.39. Time: 5923ms (slow). http://192.168.0.128:8096/emby/videos/11d3df69f3899432b6eeb3a221a549bd/stream.mkv?DeviceId=2ef0757d8dca917d&MediaSourceId=a10a46f18b984289b8c3c7674d54b57cnative&VideoCodec=h264&AudioCodec=ac3,aac,mp3&AudioStreamIndex=-1&VideoBitrate=17802950&AudioBitrate=448000&MaxAudioChannels=6&Level=51&Profile=high&PlaySessionId=99acafb105064f238fde66bcbdff3c31&CopyTimestamps=true&ForceLiveStream=false
2016-08-21 10:37:38.0004 Info HttpServer: HTTP POST http://192.168.0.128:8096/emby/Sessions/Playing/Stopped. UserAgent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; MXQ Pro Build/LMY47V)
2016-08-21 10:37:38.0004 Info App: Stopping ffmpeg process with q command for C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\f30a98dc251a1271c663594285dccbb6.mkv
2016-08-21 10:37:38.3911 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
*** Error Report ***
Version: 3.0.6070.0
Command line: C:\Users\Lee\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 8
64-Bit OS: True
64-Bit Process: True
Program data path: C:\Users\Lee\AppData\Roaming\Emby-Server
Application Path: C:\Users\Lee\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
System.IO.IOException
    at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    at SocketHttpListener.Net.ResponseStream.InternalWrite(Byte[] buffer, Int32 offset, Int32 count)
    at SocketHttpListener.Net.ResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
    at ServiceStack.Formats.HtmlFormat.SerializeToStream(IRequest req, Object response, IResponse res)
    at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse(IResponse httpRes, IRequest httpReq, String contentType, String operationName, String errorMessage, Exception ex, Int32 statusCode)
    at ServiceStack.ServiceStackHost.HandleUncaughtException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
    at ServiceStack.HostContext.RaiseAndHandleUncaughtException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
    at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException(Exception originalEx, IRequest request, IResponse response, String defaultContentType)
    at ServiceStack.HttpResponseExtensionsInternal.<WriteToResponse>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at ServiceStack.Host.RestHandler.<ProcessRequestAsync>d__13.MoveNext()
InnerException: System.Net.Sockets.SocketException
An established connection was aborted by the software in your host machine
    at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)

Attached Files


Edited by FordGT90Concept, 21 August 2016 - 11:46 AM.


#11 Doonga OFFLINE  

Doonga

    Advanced Member

  • Members
  • 145 posts
  • Local time: 07:40 PM
  • LocationConnecticut

Posted 21 August 2016 - 12:46 PM

I'm on Linux so there's some difference here. Do you have anti virus or something running on there that might think the connection is malicious and is killing it? That error sounds like something is aborting the connection in an unexpected manner.

Edited by Doonga, 21 August 2016 - 12:46 PM.


#12 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 02:02 PM

Nothing has changed except Emby Server version and HDHomeRun firmware.  The network is the same, no other software has changed on the server, I haven't touched the router config, and I haven't changed the Leelbox config.

 

Edit: What is the "host machine" in this context?  Emby Server or the HDHomeRun?

 

Edit: I have two Leelboxes.

 

Older Leelbox:

Emby for Android TV: worked before; works now

Emby for Android: worked before; video works, audio does not

 

Newer Leelbox:
‚ÄčEmby for Android TV: not tested; does not work (no error)

Emby for Android: worked before; video shows one frame then the whole thing locks up

 

In truth, Android version would be my preference because Android TV version lacks basic functionality (like deleting a recording).  Since upgrading the Firmware and Emby Server, Android version doesn't work for either of them.


Edited by FordGT90Concept, 21 August 2016 - 02:59 PM.


#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139791 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 03:25 PM

In Live TV setup I would check the ip addresses of your tuners and verify that they're correct.



#14 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47440 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 04:27 PM

I tried HDHomeRun - BETA app from the Google Play and it works but it is choppy (needs transcoding) and audio doesn't work (not sure what that is about).  It appears to be something in Emby Server doesn't play nice with the latest beta version of HDHomeRun firmware.

 

If the HDHR app itself is also experiencing problems perhaps it is something outside of Emby...



#15 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 05:08 PM

The "Newer Leelbox" above, I factory reset.  Now Emby for Android TV works great on both Leelboxes but Emby for Android is broke on both: the moment the stream starts, they lock up (completely, not just the app).  I would prefer to use Emby for Android on these boxes because of better mouse support and easier navigation.

 

I verified the hardware/software in both Leelboxes is identical.

 

 

Side note: The logo on Emby for Android TV and Emby for Android is identical.  It would be nice if there was a "TV" on the Emby for Android TV to tell the two apart when both are installed.


Edited by FordGT90Concept, 21 August 2016 - 05:10 PM.


#16 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139791 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 05:12 PM

have you looked at your hd homerun control panel at things like signal strength? signal drops can cause failures. i know you just did a factory reset and therefore you're associating the differences with that, but it could also be volatility of the tuner that is creating the inconsistency.



#17 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 06:04 PM

Extremely doubtful:
Tuner 0 Status
Virtual Channel: none
Frequency: 635.000 MHz
Program Number: 1

Modulation Lock: 8vsb
Signal Strength: 100%
Signal Quality: 98%
Symbol Quality: 100%

Streaming Rate: 9.896 Mbps
Resource Lock: 192.168.0.187



#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139791 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 06:08 PM

Ok, that looks good. In order to best help you, please make sure to provide the logging info requested in how to report a media playback issue. Thanks!



#19 FordGT90Concept OFFLINE  

FordGT90Concept

    Advanced Member

  • Members
  • 658 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 06:37 PM

Long story short: for no apparent reason, video is now working on both boxes but they aren't playing audio.  In the Android TV app, I have to enable downmixing to hear it.  Does the Android app have a similar setting?  I checked under Playback settings and didn't see anything.

 

 

I attached the log (basically starting playback on both devices).  I have no idea why it didn't work before and now it does.  I literally didn't change anything and certainly if I did change anything, it wouldn't have effected both boxes.  This is baffling.  I have one theory and that is related to the resolution of the recording.  I'll be able to verify in a few hours.

Attached Files



#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139791 posts
  • Local time: 06:40 PM

Posted 21 August 2016 - 07:36 PM

There is no transcoding happening so it appears the apps are going straight to the tuner, which is good. That eliminates Emby Server as being related to the issues. So if that is the case, I think there might be some volatility with the tuner, despite your objections. It's also possible that available resources on the playback device are a factor, but less likely.







Also tagged with one or more of these keywords: 3.0.6070.0, 20160630atest2, HDHomeRun, Connect, Live TV

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users