Every API maps one on one to a public method on the PlayerInstanceAAMP class declared in main_aamp.h in Aamp source code.
| JSON-RPC method | Aamp Player Instance Method | Parameter | Result | Summary |
|---|---|---|---|---|
Player.Tune | Tune | url : String autoPlay : boolean contentType : String traceUUID : String | success : boolean | Instructs the AAMP to tune to the given URL. |
Player.Stop | Stop | None | success : boolean | Stops the current playback and releases decoder resources. The player returns to the idle state. |
Player.Seek | Seek | position : number keepPaused : boolean | success : boolean | Seeks to an absolute position in the stream |