1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-11-30 04:39:03 +01:00
libtgvoip/video/VideoRenderer.cpp
2019-02-05 14:41:00 +03:00

24 lines
476 B
C++

//
// Created by Grishka on 10.08.2018.
//
#include "VideoRenderer.h"
#ifdef __ANDROID__
#include "../os/android/VideoRendererAndroid.h"
#endif
std::vector<uint32_t> tgvoip::video::VideoRenderer::GetAvailableDecoders(){
#ifdef __ANDROID__
return VideoRendererAndroid::availableDecoders;
#endif
return std::vector<uint32_t>();
}
int tgvoip::video::VideoRenderer::GetMaximumResolution(){
#ifdef __ANDROID__
return VideoRendererAndroid::maxResolution;
#endif
return 0;
}