Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner

onStreamRemoved 事件失效

ios Intel SDK 3.5.2 

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

Tags (2)
0 Kudos
3 Replies
Highlighted
Beginner

经过测试发现如下规律:

经过测试发现如下规律:

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

 

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

0 Kudos
Highlighted
Beginner

p.p1 {margin: 0.0px 0.0px 0

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

0 Kudos
Highlighted
Employee

这个是已知的一个问题,因为在3.5.2 做publish

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

0 Kudos