Skip to content

Commit

Permalink
API change: OpenStream void -> bool
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 committed Aug 16, 2017
1 parent 476bde0 commit e094fa3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RTMPStream.cpp
Expand Up @@ -52,7 +52,7 @@ class CInputStreamRTMP
virtual INPUTSTREAM_IDS GetStreamIds() override;
virtual INPUTSTREAM_INFO GetStream(int streamid) override;
virtual void EnableStream(int streamid, bool enable) override;
virtual void OpenStream(int streamid) override;
virtual bool OpenStream(int streamid) override;
virtual int ReadStream(uint8_t* buffer, unsigned int bufferSize) override;
virtual void PauseStream(double time) override;
virtual bool PosTime(int ms) override;
Expand Down Expand Up @@ -104,8 +104,9 @@ bool CInputStreamRTMP::Open(INPUTSTREAM& props)
return true;
}

void CInputStreamRTMP::OpenStream(int streamid)
bool CInputStreamRTMP::OpenStream(int streamid)
{
return false;
}

void CInputStreamRTMP::Close()
Expand Down

1 comment on commit e094fa3

@peak3d
Copy link
Collaborator

@peak3d peak3d commented on e094fa3 Aug 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

Please sign in to comment.