Using PHP to call KinesisVideoClient describeSignalingChannel can return ChannelARN successful,
but call KinesisVideoSignalingChannelsClient getIceServerConfig doesn't return IceServerList.
Aws\Result Object
(
[data:Aws\Result:private] => Array
(
[@metadata] => Array
(
[statusCode] => 200
[effectiveUri] => https://kinesisvideo.ap-northeast-1.amazonaws.com/v1/get-ice-server-config
[headers] => Array
(
[x-amzn-requestid] => 0e909c15-4a9b-4a95-868b-f27ea3a4dc8a
[content-type] => application/json
[content-length] => 90
[date] => Thu, 24 Feb 2022 06:01:18 GMT
)
[transferStats] => Array
(
[http] => Array
(
[0] => Array
(
)
)
)
)
)
[monitoringEvents:Aws\Result:private] => Array
(
)
)
my source code :
$credentials = new Credentials(
'id',
'password'
);
$kvClient = new KinesisVideoClient([
'region' => 'ap-northeast-1',
'version' => 'latest',
'credentials' => $credentials
]);
$describeSignalingChannelResponse = $kvClient->describeSignalingChannel([
'ChannelName' => 'stream1',
]);
$channelARN = $describeSignalingChannelResponse['ChannelInfo']['ChannelARN'];
$kvscClient = new KinesisVideoSignalingChannelsClient([
'region' => 'ap-northeast-1',
'version' => 'latest',
'credentials' => $credentials
]);
$getIceServerConfigResponse = $kvscClient->getIceServerConfig([
'ChannelARN' => $channelARN
]);