Try migrating mute/video state.

This commit is contained in:
John Preston
2025-04-02 00:13:14 +05:00
parent 6528567746
commit eb06c0da08
9 changed files with 118 additions and 71 deletions
+2 -14
View File
@@ -45,10 +45,6 @@ namespace tgcalls {
class VideoCaptureInterface;
} // namespace tgcalls
namespace TdE2E {
class Call;
} // namespace TdE2E
namespace Calls {
class Call;
@@ -57,6 +53,7 @@ class GroupCall;
class Panel;
struct DhConfig;
struct InviteRequest;
struct StartConferenceInfo;
struct StartGroupCallArgs {
enum class JoinConfirm {
@@ -69,15 +66,6 @@ struct StartGroupCallArgs {
bool scheduleNeeded = false;
};
struct StartConferenceCallArgs {
std::shared_ptr<Data::GroupCall> call;
std::shared_ptr<TdE2E::Call> e2e;
QString linkSlug;
MsgId joinMessageId;
std::vector<InviteRequest> invite;
bool migrating = false;
};
struct ConferenceInviteMessages {
base::flat_set<MsgId> incoming;
base::flat_set<MsgId> outgoing;
@@ -97,7 +85,7 @@ public:
std::shared_ptr<Ui::Show> show,
not_null<PeerData*> peer,
StartGroupCallArgs args);
void startOrJoinConferenceCall(StartConferenceCallArgs args);
void startOrJoinConferenceCall(StartConferenceInfo args);
void showStartWithRtmp(
std::shared_ptr<Ui::Show> show,
not_null<PeerData*> peer);