Skip to content

release build: v04.04.00

Compare
Choose a tag to compare
@warren-bank warren-bank released this 17 May 12:06
· 44 commits to 04-webcast-filename since this release
bug fix: add "RELEASED_ALL_BUT_CAST_SESSION" mode

issue this solves:

  • in "BrowserActivity":
    • select video URL(s) to watch
  • in "VideoActivity":
    • start a cast session
    • playlist of video URLs appears on screen
    • when a video in playlist is clicked:
      • video queue loads in Chromecast
      • position in queue skips to selected playlist item
    • "onPause" runs when Activity screen is closed
      • "PlayerManager" enters "CAST_ONLY" mode and releases all other resources
  • in "BrowserActivity":
    • select video URL(s) to watch
  • in "VideoActivity":
    • "onResume" runs and detects that "PlayerManager" is running in "CAST_ONLY" mode
      • previously:
        • "PlayerManager" transitioned: "CAST_ONLY" -> "RELEASED" -> "NORMAL"
        • "RELEASED" mode releases all resources, including closing the CastSession
        • "currentPlayer" is an instance of ExoPlayer
      • now:
        • "PlayerManager" transitions: "CAST_ONLY" -> "RELEASED_ALL_BUT_CAST_SESSION" -> "NORMAL"
        • "RELEASED_ALL_BUT_CAST_SESSION" mode is identical to "RELEASED", but CastSession is not closed
        • "currentPlayer" is an instance of CastPlayer
          • the previous video queue that was casting continues uninterupted
          • the new playlist of video URLs appears on screen
          • when a video in playlist is clicked:
            • new video queue loads in Chromecast
            • position in new queue skips to selected playlist item