I have a flutter app and I need to get the video stream from a smart device the device actually returns this data
{
moto_id: 'moto_usprod001',
auth: 'XX/XL?EF?OL/XXX',
icesServers: [
{ urls: 'stun:44.240.73.31:3478' },
{ urls: 'stun:aws5stun.tuyaus.com:3478' },
{ urls: 'nat:aws3nat.tuyaus.com:3478' },
{ urls: 'nat:aws4nat.tuyaus.com:3478' },
{
credential: 'XXXX',
ttl: 3600,
urls: 'turn:55.55.55.55:3478',
username: 'XXXXXX:XXXXXX:XXXXX'
},
{
credential: 'XXXXX',
ttl: 3600,
urls: 'turn:XCDS.tuyaus.com:3478',
username: 'XXXXXXX:XXXXXX'
}
]
}
How do I use this returned data to get the video streamed from device on mobile !! the way I have structured my app is using the Bloc Pattern
Thank you