updateLiveStsInfo method

Future updateLiveStsInfo(
  1. String accId,
  2. String accKey,
  3. String token,
  4. String region,
)

更新LiveSts信息

Implementation

Future<dynamic> updateLiveStsInfo(
    String accId, String accKey, String token, String region) async {
  Map<String, String> liveStsInfo = {
    "accId": accId,
    "accKey": accKey,
    "token": token,
    "region": region,
  };
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod('updateLiveStsInfo', wrapWithPlayerId(arg: liveStsInfo));
}