Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

onStreamRemoved 事件失效

zhao_w_
Beginner
233 Views

ios Intel SDK 3.5.2 

onStreamRemoved事件失效,在其他人处于推流状态离开之后,只能收到onUserLeft,没有onStreamRemoved。但是自己停止推流可以收到onStreamRemoved。安卓正常

0 Kudos
3 Replies
zhao_w_
Beginner
233 Views

经过测试发现如下规律:

在使用ios 3.5.2版本的SDK时候发现订阅前后流的streamID发生变化而且单流订阅之后在推流者离开之后只有onUserleft事件没有onStreamRemoved事件不订阅则正常

 

附件上是使用demo打印的日志

zhao_w_
Beginner
233 Views

AppDelegate received user join event: Nd3eJPLVaMq--72NAAPK

2018-04-09 14:43:40.862403+0800 WoogeenConference[2992:734880] AppDelegate on stream added 95807518903499920__Nd3eJPLVaMq--72NAAPK

2018-04-09 14:43:40.862640+0800 WoogeenConference[2992:734880] New stream add from Nd3eJPLVaMq--72NAAPK

2018-04-09 14:43:40.863330+0800 WoogeenConference[2992:734880] -[ConferenceStreamViewController subscribe]__165_95807518903499920_Nd3eJPLVaMq--72NAAPK

2018-04-09 14:43:40.904795+0800 WoogeenConference[2992:734881] OnVideoLayoutChanged.

2018-04-09 14:43:41.553301+0800 WoogeenConference[2992:734563] __43-[ConferenceStreamViewController subscribe]_block_invoke_2__169_832087511846552300_Nd3eJPLVaMq--72NAAPK

2018-04-09 14:43:41.553484+0800 WoogeenConference[2992:734563] __43-[ConferenceStreamViewController subscribe]_block_invoke_2__170_832087511846552300_Nd3eJPLVaMq--72NAAPK

2018-04-09 14:43:41.553578+0800 WoogeenConference[2992:734563] Subscribe screen stream success.

2018-04-09 14:43:41.555421+0800 WoogeenConference[2992:734563] Attached stream.

2018-04-09 14:43:47.464794+0800 WoogeenConference[2992:734881] OnVideoLayoutChanged.

2018-04-09 14:43:48.191548+0800 WoogeenConference[2992:735132] AppDelegate received user leave event: Nd3eJPLVaMq--72NAAPK

YanbinZ_Intel
Employee
233 Views

这个是已知的一个问题,因为在3.5.2 做publish/subscribe 之后id 会变化, 导致的onStreamRemoved 的事件不会被触发。 如果你这边方便请升级到4.0 , 4.0 以全新的方式呈现了各种事件, id 也不会变化,可以使用 subscriptionDidEnd: : <ICSConferenceSubscriptionDelegate>

Reply