How do I determine which index the class uses when it starts a rendition set?

The HDNeStream class by default will start a rendition set at the highest bit rate that is less than 500 kbps. If you want to modify this behavior, you have two options.

  1. Before calling play(), set the startingIndex property to the index value you want to use. Index values are zeroth based, with the renditions ordered by ascending bit rate.
  2. For a more sophisticated entry point selection, perhaps involving some custom business logic, extend HDNetStream and then override the protected getStartingIndex() function.