2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Keep RTMP url / key in Calls::GroupCall.

This commit is contained in:
John Preston
2022-02-28 17:29:08 +03:00
parent 6d1106bc9f
commit 3cf330134b
4 changed files with 27 additions and 2 deletions

View File

@@ -271,7 +271,10 @@ void StartRtmpProcess::processUrl(Data data) {
void StartRtmpProcess::finish(JoinInfo info) {
const auto done = std::move(_request->done);
const auto box = _request->box;
const auto current = _request->data.current();
_request = nullptr;
info.rtmpUrl = current.url;
info.rtmpKey = current.key;
done(std::move(info));
if (const auto strong = box.data()) {
strong->closeBox();