Documentation

Support

Vivox Unreal SDK

Vivox Unreal SDK

Filter a speaker by channel

Learn how to filter server-side recording request for a speaker by channel.
Read time 1 minuteLast updated 3 hours ago

If a speaker is in multiple channels and you only want to record the one channel they are in, pass the channel to the filter_uris query. For example, if a speaker is in channelA and channelB, and you only want to record what the user says in channelA, then if you pass channelA to the filter_uris query, it excludes anything the speaker says in channelB. For an additional example, if you have speakerA, speakerB, and speakerC in a channel, and you only want to record data from speakerA and speakerB, then you can filter those two users by passing them in to the filter_uris parameter, which excludes speakerC from the recording. The following code displays an example of how to filter for this scenario.
curl -x POSThttp://{{host}}/ssr/subscribe?auth_token={{auth_token}}&history=5&destination_credentials={"bucket":"bucket-name","access_key_id":"aws-access-id","secret_access_key":"aws-secret-key"}&target_uri=sip:confctl-g-.issuer.channel_name@domain.vivox.com&target_type=channel&ttl=5&filter_uris=["sip:.issuer.speakerA.@domain.vivox.com", "sip:.issuer.speakerB.@domain.vivox.com"]