PHP Class Pili\Api

Show file Open project: pili-engineering/pili-sdk-php Class Usage Examples

Public Methods

Method Description
createStream ( $transport, $hubName, $title = NULL, $publishKey = NULL, $publishSecurity = NULL )
getStream ( $transport, $streamId )
listStreams ( $transport, $hubName, $marker = NULL, $limit = NULL, $title = NULL, $status = NULL, $idonly = NULL )
streamAvailable ( $transport, $streamId, $available, $disabledTill = NULL )
streamDelete ( $transport, $streamId )
streamSaveAs ( $transport, $streamId, $name, $format = NULL, $start = NULL, $end = NULL, $notifyUrl = NULL, $pipeline = NULL )
streamSegments ( $transport, $streamId, $startTime = NULL, $endTime = NULL, $limit = NULL )
streamSnapshot ( $transport, $streamId, $name, $format, $time = NULL, $notifyUrl = NULL, $pipeline = NULL )
streamStatus ( $transport, $streamId )
streamUpdate ( $transport, $streamId, $options = [] )

Private Methods

Method Description
_getApiBaseUrl ( )

Method Details

createStream() public static method

public static createStream ( $transport, $hubName, $title = NULL, $publishKey = NULL, $publishSecurity = NULL )

getStream() public static method

public static getStream ( $transport, $streamId )

listStreams() public static method

public static listStreams ( $transport, $hubName, $marker = NULL, $limit = NULL, $title = NULL, $status = NULL, $idonly = NULL )

streamAvailable() public static method

public static streamAvailable ( $transport, $streamId, $available, $disabledTill = NULL )

streamDelete() public static method

public static streamDelete ( $transport, $streamId )

streamSaveAs() public static method

public static streamSaveAs ( $transport, $streamId, $name, $format = NULL, $start = NULL, $end = NULL, $notifyUrl = NULL, $pipeline = NULL )

streamSegments() public static method

public static streamSegments ( $transport, $streamId, $startTime = NULL, $endTime = NULL, $limit = NULL )

streamSnapshot() public static method

public static streamSnapshot ( $transport, $streamId, $name, $format, $time = NULL, $notifyUrl = NULL, $pipeline = NULL )

streamStatus() public static method

public static streamStatus ( $transport, $streamId )

streamUpdate() public static method

public static streamUpdate ( $transport, $streamId, $options = [] )