Updated call struct definitions
This commit is contained in:
parent
6663e5683d
commit
a7bfaa4ef6
3 changed files with 24 additions and 11 deletions
|
|
@ -77,7 +77,7 @@ struct CallType
|
|||
{
|
||||
if constexpr (std::is_same_v<mtx::events::RoomEvent<mtx::events::voip::CallInvite>, T>) {
|
||||
const char video[] = "m=video";
|
||||
const std::string &sdp = e.content.sdp;
|
||||
const std::string &sdp = e.content.offer.sdp;
|
||||
return std::search(sdp.cbegin(),
|
||||
sdp.cend(),
|
||||
std::cbegin(video),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue