Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions dita/RTC-AIDOC/API/api_imediaplayer_adjustplayoutvolume.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_imediaplayer_adjustplayoutvolume">
<title>
<ph keyref="adjustPlayoutVolume"/>
</title>
<shortdesc id="short">
<ph id="shortdesc">调整本地播放音量。</ph>
</shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="adjustPlayoutVolume"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p props="android cpp ios mac">加入频道前后均可调用。</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p props="android cpp ios mac">无。</p>
</section>
<section id="return_values">
<title>返回值</title>
<p props="android cpp ios mac">
<ul>
<li>0:方法调用成功。</li>
<li>&lt; 0:方法调用失败。</li>
</ul>
</p>
</section>
</refbody>
</reference>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="callback_imediaplayersourceobserver_onplayerplaybackstats">
<title>
<ph keyref="onPlayerPlaybackStats"/>
</title>
<shortdesc id="short">
<ph id="shortdesc">报告正在播放的媒体文件的统计信息。</ph>
</shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="onPlayerPlaybackStats"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="restriction" deliveryTarget="details">
<title>使用限制</title>
<p props="android cpp ios mac">无。</p>
</section>
</refbody>
</reference>
15 changes: 15 additions & 0 deletions dita/RTC-AIDOC/API/class_imediaplayer.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="class_imediaplayer">
<title>
<ph keyref="IMediaPlayer"/>
</title>
<shortdesc id="short">
<ph id="shortdesc">用于访问媒体播放器实体的接口。</ph>
</shortdesc>
<refbody>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<p props="android cpp ios mac">如果你想同时播放多个媒体源,请创建多个媒体播放器源对象。</p>
</section>
</refbody>
</reference>
11 changes: 11 additions & 0 deletions dita/RTC-AIDOC/API/class_imediaplayersourceobserver.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="class_imediaplayersourceobserver">
<title>
<ph keyref="IMediaPlayerSourceObserver"/>
</title>
<shortdesc id="short">
<ph id="shortdesc">用于向应用上报运行时事件。</ph>
</shortdesc>
<refbody/>
</reference>
11 changes: 11 additions & 0 deletions dita/RTC-AIDOC/API/class_playerplaybackstats.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="class_playerplaybackstats">
<title>
<ph keyref="PlayerPlaybackStats"/>
</title>
<shortdesc id="short">
<ph id="shortdesc">获取当前播放媒体文件的播放统计信息。</ph>
</shortdesc>
<refbody/>
</reference>
11 changes: 11 additions & 0 deletions dita/RTC-AIDOC/API/enum_mediaplayermetadatatype.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="enum_mediaplayermetadatatype">
<title>
<ph keyref="MEDIA_PLAYER_METADATA_TYPE"/>
</title>
<shortdesc id="short">
<ph id="shortdesc">媒体元数据类型。</ph>
</shortdesc>
<refbody/>
</reference>
60 changes: 60 additions & 0 deletions dita/RTC-AIDOC/API/rtc_api_data_type.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="rtc_api_data_type">
<title>
<ph keyref="typedef"/>
</title>
<shortdesc id="short">
<ph id="shortdesc">本页列出 <ph keyref="platform"/> 所有 <ph keyref="class"/> 和 Enum 的定义。</ph>
</shortdesc>
<refbody>
<section id="class">
<title>
<ph keyref="class"/>
</title>
<ul props="cpp">
<li>
<xref keyref="PlayerPlaybackStats"/>
</li>
</ul>
<ul props="android">
<li>
<xref keyref="PlayerPlaybackStats"/>
</li>
</ul>
<ul props="ios">
<li>
<xref keyref="PlayerPlaybackStats"/>
</li>
</ul>
<ul props="mac">
<li>
<xref keyref="PlayerPlaybackStats"/>
</li>
</ul>
</section>
<section id="enum">
<title>Enums</title>
<ul props="cpp">
<li>
<xref keyref="MEDIA_PLAYER_METADATA_TYPE"/>
</li>
</ul>
<ul props="android">
<li>
<xref keyref="MEDIA_PLAYER_METADATA_TYPE"/>
</li>
</ul>
<ul props="ios">
<li>
<xref keyref="MEDIA_PLAYER_METADATA_TYPE"/>
</li>
</ul>
<ul props="mac">
<li>
<xref keyref="MEDIA_PLAYER_METADATA_TYPE"/>
</li>
</ul>
</section>
</refbody>
</reference>
44 changes: 44 additions & 0 deletions dita/RTC-AIDOC/API/rtc_api_overview_Android.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="rtc_api_overview_java" xml:lang="zh-cn">
<title>API 概览</title>
<shortdesc id="short">
<ph id="shortdesc">声网通过全球部署的 SD-RTN™,提供可以灵活搭配的 API 组合,实现质量可靠的实时音视频通信。</ph>
</shortdesc>
<body>
<section id="toc_mediaplayer_control">
<title>媒体播放器控制</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="adjustPlayoutVolume"/>
</stentry>
<stentry>
<ph conkeyref="adjustPlayoutVolume/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
<section id="toc_mediaplayer_info">
<title>媒体播放器信息</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="onPlayerPlaybackStats"/>
</stentry>
<stentry>
<ph conkeyref="onPlayerPlaybackStats/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
</body>
</topic>
44 changes: 44 additions & 0 deletions dita/RTC-AIDOC/API/rtc_api_overview_CPP.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="rtc_api_overview_cpp" xml:lang="zh-cn">
<title>API 概览</title>
<shortdesc id="short">
<ph id="shortdesc">声网通过全球部署的 SD-RTN™,提供可以灵活搭配的 API 组合,实现质量可靠的实时音视频通信。</ph>
</shortdesc>
<body>
<section id="toc_mediaplayer_control">
<title>媒体播放器控制</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="adjustPlayoutVolume"/>
</stentry>
<stentry>
<ph conkeyref="adjustPlayoutVolume/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
<section id="toc_mediaplayer_info">
<title>媒体播放器信息</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="onPlayerPlaybackStats"/>
</stentry>
<stentry>
<ph conkeyref="onPlayerPlaybackStats/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
</body>
</topic>
44 changes: 44 additions & 0 deletions dita/RTC-AIDOC/API/rtc_api_overview_iOS.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="rtc_api_overview_ios" xml:lang="zh-cn">
<title>API 概览</title>
<shortdesc id="short">
<ph id="shortdesc">声网通过全球部署的 SD-RTN™,提供可以灵活搭配的 API 组合,实现质量可靠的实时音视频通信。</ph>
</shortdesc>
<body>
<section id="toc_mediaplayer_control">
<title>媒体播放器控制</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="adjustPlayoutVolume"/>
</stentry>
<stentry>
<ph conkeyref="adjustPlayoutVolume/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
<section id="toc_mediaplayer_info">
<title>媒体播放器信息</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="onPlayerPlaybackStats"/>
</stentry>
<stentry>
<ph conkeyref="onPlayerPlaybackStats/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
</body>
</topic>
44 changes: 44 additions & 0 deletions dita/RTC-AIDOC/API/rtc_api_overview_macOS.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="rtc_api_overview_macos" xml:lang="zh-cn">
<title>API 概览</title>
<shortdesc id="short">
<ph id="shortdesc">声网通过全球部署的 SD-RTN™,提供可以灵活搭配的 API 组合,实现质量可靠的实时音视频通信。</ph>
</shortdesc>
<body>
<section id="toc_mediaplayer_control">
<title>媒体播放器控制</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="adjustPlayoutVolume"/>
</stentry>
<stentry>
<ph conkeyref="adjustPlayoutVolume/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
<section id="toc_mediaplayer_info">
<title>媒体播放器信息</title>
<simpletable>
<sthead>
<stentry>API</stentry>
<stentry>描述</stentry>
</sthead>
<strow>
<stentry>
<xref keyref="onPlayerPlaybackStats"/>
</stentry>
<stentry>
<ph conkeyref="onPlayerPlaybackStats/shortdesc"/>
</stentry>
</strow>
</simpletable>
</section>
</body>
</topic>
Loading
Loading