toggle menu
RootEncoder
androidJvm
switch theme
search in API
rtsp
/
com.pedro.rtsp.rtsp.commands
/
CommandParser
Command
Parser
class
CommandParser
Created by pedro on 13/4/22.
Members
Constructors
Command
Parser
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
get
Session
Id
Link copied to clipboard
fun
getSessionId
(
command
:
Command
)
:
String
load
Server
Ports
Link copied to clipboard
fun
loadServerPorts
(
command
:
Command
,
protocol
:
Protocol
,
audioClientPorts
:
IntArray
,
videoClientPorts
:
IntArray
,
audioServerPorts
:
IntArray
,
videoServerPorts
:
IntArray
)
:
Boolean
parse
Command
Link copied to clipboard
fun
parseCommand
(
commandText
:
String
)
:
Command
Command send by pusher/player
parse
Response
Link copied to clipboard
fun
parseResponse
(
method
:
Method
,
responseText
:
String
)
:
Command
Response received after send a command