Jump to content

Casting from Android App to TV with Airplay Does Not Resume


Recommended Posts

Posted

When trying to resume watching a movie casting from Android app to TV with Airplay, it does not resume from last point but starts from the beginning.

To reproduce:

  1. cast a movie to TV from phone.

  2. then pause and go outside and take a walk.

  3. come back, try to cast back to TV and resume video -- it will start from the beginning.

 

Emby Server version: 4.8.10.0

Android App version: 3.4.20

Posted

Hello jbchang83,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted

hi, how exactly are you casting to airplay from android?

Posted

I am using the casting function from within the Emby Android app, and I am selecting the smart TV I am using, which is a Roku TV.  Roku TV has built in airplay capability.

Posted

So you're not casting to the Emby Roku app?

Posted

I should mention that the choice to cast to the TV does not appear until I install the Emby Roku app and sign into the app.  So I don't really know if it's using Airplay or the Emby Roku app or some combination of the two.  I don't really understand the technicals of what is happening.

Posted

Also sometimes during this the seek function on the Emby android app will also stop working.  I cannot interact with the seek bar.

Posted (edited)

@Lukehttps://developer.roku.com/docs/developer-program/dev-tools/external-control-api.md

The server needs to have support for SSDP to detect that a Roku exists and what the IP address is for this to launch without the app being opened first. If the Roku device exists on the local network the server can show the casting icon for the Roku. But right now the server isn't doing this for the Roku. Instead it waits until the Roku app has launched the Emby app then it understands the Roku exists.

So basically, the server needs to add support for detecting Roku via SSDP on the network and add the casting ability once that is detected. The app-id we need to launch would need to be hardcoded in the server code since we want to always use the Emby for Roku app-id when launching an app on the Roku and sending our control commands. But I will need you to work with me on this if you want  discovery of Roku devices even when Emby isn't active on that Roku to work. This is the only part we are not presently doing.

The URL above explains how this works to discovery via SSDP and that is all that is missing.

If the app is told to launch but it not yet installed on that Roku it would instead go to the channel store listing for that app on the Roku where they can install it. This is all done by the single launch command sent from the server while determining whether to launch or go to the channel store listing is done by the Roku itself once the launch command is received.

Edited by speechles
Posted
On 11/25/2024 at 12:14 AM, jbchang83 said:

When trying to resume watching a movie casting from Android app to TV with Airplay, it does not resume from last point but starts from the beginning.

To reproduce:

  1. cast a movie to TV from phone.

  2. then pause and go outside and take a walk.

  3. come back, try to cast back to TV and resume video -- it will start from the beginning.

I believe this is fixed in the Roku Beta app. It will correctly resume from the resume point when casting in that version.

https://blog.roku.com/developer/channel-store-blackouts-2024

Roku store is presenty on Holiday blackout. On December 2nd the blackout period is over and we can publish new Roku store versions of the app again.

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