v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
45
attic/streamingvideo/StarTwitchStreamingVideoController.hpp
Normal file
45
attic/streamingvideo/StarTwitchStreamingVideoController.hpp
Normal file
|
@ -0,0 +1,45 @@
|
|||
#ifndef STAR_TWITCH_STREAMING_VIDEO_CONTROLLER_HPP
|
||||
#define STAR_TWITCH_STREAMING_VIDEO_CONTROLLER_HPP
|
||||
|
||||
#include "StarStreamingVideoController.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
class TwitchStreamingVideoControllerInternals;
|
||||
|
||||
class TwitchStreamingVideoController: public StreamingVideoController {
|
||||
public:
|
||||
TwitchStreamingVideoController();
|
||||
virtual ~TwitchStreamingVideoController();
|
||||
|
||||
virtual void setStreamConfiguration(Variant const& configuration) override;
|
||||
|
||||
virtual bool active() const override;
|
||||
|
||||
virtual void update() override;
|
||||
|
||||
virtual void start() override;
|
||||
virtual void stop() override;
|
||||
|
||||
virtual bool hasError() override;
|
||||
virtual String nextError() override;
|
||||
virtual bool hasStatus() override;
|
||||
virtual String nextStatus() override;
|
||||
|
||||
virtual void setFrameBufferSize(Vec2U const& size) override;
|
||||
virtual void setStreamMetadata(Variant const& metadata) override;
|
||||
|
||||
virtual bool nextFrameExpected() override;
|
||||
virtual StreamingVideoFrameBuffer acquireFrameBuffer() override;
|
||||
virtual void submitFrameBuffer(StreamingVideoFrameBuffer buffer) override;
|
||||
protected:
|
||||
virtual String kind() const override;
|
||||
private:
|
||||
float m_timer;
|
||||
shared_ptr<TwitchStreamingVideoControllerInternals> m_internals;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue