Twitch SDK (Internal)
rtmphandshakestate.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
12 
13 namespace ttv
14 {
15  namespace broadcast
16  {
17  class RtmpHandshakeState;
18  }
19 }
20 
22 {
23 public:
25  : RtmpState(context) {}
26 
27  virtual ~RtmpHandshakeState() {}
28 
29 private:
30  virtual uint64_t GetTimeoutDuration() const { return 5000; }
31  virtual void OnEnterInternal();
32 };
Definition: rtmpstate.h:40
Definition: rtmpcontext.h:31
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
virtual ~RtmpHandshakeState()
Definition: rtmphandshakestate.h:27
Definition: rtmphandshakestate.h:21
virtual uint64_t GetTimeoutDuration() const
Definition: rtmphandshakestate.h:30
RtmpHandshakeState(RtmpContext *context)
Definition: rtmphandshakestate.h:24