|
@@ -97,7 +97,8 @@ class RtcEngine {
|
97
|
97
|
*
|
98
|
98
|
* This method will start relay media stream across specified channels. (maximum support 4 channels)
|
99
|
99
|
* It will occurs event:
|
100
|
|
- * Occurs onChannelMediaRelayStateChanged
|
|
100
|
+ * Occurs mediaRelayStateChanged
|
|
101
|
+ * Occurs receivedChannelMediaRelay when peer channel received this message
|
101
|
102
|
* @param config
|
102
|
103
|
*/
|
103
|
104
|
public static startChannelMediaRelay(config: ChannelMediaConfiguration): Promise<any> {
|
|
@@ -109,7 +110,7 @@ class RtcEngine {
|
109
|
110
|
*
|
110
|
111
|
* This method will remove & update relay media stream across specified channels. (maximum support relay 4 channels)
|
111
|
112
|
* It will occurs event:
|
112
|
|
- * Occurs onChannelMediaRelayStateChanged
|
|
113
|
+ * Occurs mediaRelayStateChanged
|
113
|
114
|
* @param config
|
114
|
115
|
*/
|
115
|
116
|
public static removeChannelMediaRelay(config: ChannelMediaConfiguration): Promise<any> {
|
|
@@ -121,7 +122,7 @@ class RtcEngine {
|
121
|
122
|
*
|
122
|
123
|
* This method will update relay media stream across specified channels. (maximum support 4 channels)
|
123
|
124
|
* It will occurs event:
|
124
|
|
- * Occurs onChannelMediaRelayStateChanged
|
|
125
|
+ * Occurs mediaRelayStateChanged
|
125
|
126
|
* @param config
|
126
|
127
|
*/
|
127
|
128
|
public static updateChannelMediaRelay(config: ChannelMediaConfiguration): Promise<any> {
|
|
@@ -133,7 +134,7 @@ class RtcEngine {
|
133
|
134
|
*
|
134
|
135
|
* This method will stop relay media stream across specified channels.
|
135
|
136
|
* It will occurs event:
|
136
|
|
- * Occurs onChannelMediaRelayStateChanged
|
|
137
|
+ * Occurs mediaRelayStateChanged
|
137
|
138
|
* @param config
|
138
|
139
|
*/
|
139
|
140
|
public static stopChannelMediaRelay(): Promise<any> {
|