0

I've now made my cling renderer work after some efforts, that is, the media commanded by a remote control point, can be played/rendered by my renderer(run on Linux, using cling library).

The next I want to achieve is to do something interesting with the media, which requires knowing the URI of the playing media. Does Cling provide some API to achieve this?

Mad Physicist
  • 107,652
  • 25
  • 181
  • 264

2 Answers2

0

You need to implement an statemachine which extends AVTransportStateMachine, then implement different state. Cling will call the state's setTransportURI, so you can got the URI.

Yong
  • 1,529
  • 12
  • 21