ari icon indicating copy to clipboard operation
ari copied to clipboard

subscribe to channel events , get all event's of other channels

Open AyaMagdyMohamed opened this issue 1 year ago • 0 comments

Hello i make subscribtion of event's of specific channel , but i receive events of another channel as well

channel := ca.ariClient.Channel().Get(ca.leg.Key())

sub := channel.Subscribe(ari.Events.All) go func() { for { isDone := false e := <-sub.Events() fmt.Println("---------Receive event: ---------------", e) } }

here e print all events of all channels

AyaMagdyMohamed avatar Mar 29 '23 09:03 AyaMagdyMohamed