mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
commit
eb1959f540
4
core.cpp
4
core.cpp
|
@ -1118,8 +1118,8 @@ void Core::prepareCall(int friendId, int callId, ToxAv* toxav, bool videoEnabled
|
||||||
calls[callId].callId = callId;
|
calls[callId].callId = callId;
|
||||||
calls[callId].friendId = friendId;
|
calls[callId].friendId = friendId;
|
||||||
calls[callId].codecSettings = av_DefaultSettings;
|
calls[callId].codecSettings = av_DefaultSettings;
|
||||||
calls[callId].codecSettings.video_width = TOXAV_VIDEO_WIDTH;
|
calls[callId].codecSettings.max_video_width = TOXAV_VIDEO_WIDTH;
|
||||||
calls[callId].codecSettings.video_height = TOXAV_VIDEO_HEIGHT;
|
calls[callId].codecSettings.max_video_height = TOXAV_VIDEO_HEIGHT;
|
||||||
calls[callId].videoEnabled = videoEnabled;
|
calls[callId].videoEnabled = videoEnabled;
|
||||||
toxav_prepare_transmission(toxav, callId, &calls[callId].codecSettings, videoEnabled);
|
toxav_prepare_transmission(toxav, callId, &calls[callId].codecSettings, videoEnabled);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user