media.stopWebRTCAudio - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.media.stopWebRTCAudio
API μ€λͺ
- WebRTC Audio μ°κ²° ν΄μ API
media.startWebRTCAudio
μμ μμ±ν webrtcaudio μ°κ²°μ ν΄μ ν¨
API ꡬ쑰
- function stopWebRTCAudio(options,callback)
options
sessionid
: (String, Mandatory) media.createChannel
μμ μμ±ν webrtcaudio Channelμ sessionid
result_cd
200
: μ±κ³΅
500
: μμ€ν
Error
extra
μ¬μ© μμ
// callback λ°©μ
var options = {};
options.sessionid = 'createchannelsessionid';
gigagenie.media.stopWebRTCAudio(options, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
console.log("stopWebRTCAudio Success..");
} else {
console.log("stopWebRTCAudio Fail");
}
});