简体   繁体   中英

How can I get the URI from the Cling Renderer?

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM