switch between voice call and video call

80 views
Skip to first unread message

da...@more-com.co.jp

unread,
Oct 12, 2016, 11:50:37 PM10/12/16
to SkyWay Technical Forum

Hello!
Now, I want to switch between voice and video call. When callWithId() ,I used SKWMediaStream and only enable audio track, don't enable video track.When I'm talking I want use camera.So how I can switch from voice call to video call.

Best regards!
Beacon

Tsuyoshi Takahashi

unread,
Oct 17, 2016, 2:50:12 AM10/17/16
to SkyWay Technical Forum
Hi, 

One example flow to switch video on/off during a call is as follows.

 1) Start a call with video track enabled, but don't execute "SKWVideo#addSrc" for the remote video stream at this point.
 2) When you need to enable video, execute "addSrc" for the remote video stream.
 3) When you need to disable video, execute "remoteSrc" for the remote video stream.


Best regards,
SkyWay Development team

2016年10月13日木曜日 12時50分37秒 UTC+9 da...@more-com.co.jp:

Nguyen Hai, Dang

unread,
Oct 17, 2016, 9:57:31 PM10/17/16
to skyw...@googlegroups.com
Thank so much! I'm success for this task .

--
このメールは Google グループのグループ「SkyWay Technical Forum」のトピックを登録しているユーザーに送られています。
このトピックの登録を解除するには https://groups.google.com/d/topic/skywayjs/hnqiYdcXJes/unsubscribe にアクセスしてください。
このグループを退会し、グループのすべてのトピックの登録を解除するには skywayjs+unsubscribe@googlegroups.com にメールを送信してください。
このディスカッションをウェブ上で閲覧するには https://groups.google.com/d/msgid/skywayjs/f9f44a03-3db0-4b71-ad55-410033c40ec6%40googlegroups.com にアクセスしてください。
その他のオプションについては https://groups.google.com/d/optout にアクセスしてください。

Reply all
Reply to author
Forward
0 new messages