Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
PHZ76 committed May 19, 2020
1 parent c4a90c1 commit 705f936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/rtmp_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int main(int argc, char **argv)
xop::EventLoop event_loop(count);

/* rtmp server example */
xop::RtmpServer rtmp_server = xop::RtmpServer::Create(&event_loop);
auto rtmp_server = xop::RtmpServer::Create(&event_loop);
rtmp_server->SetChunkSize(60000);
//rtmp_server->SetGopCache(); /* enable gop cache */
if (!rtmp_server->Start("0.0.0.0", 1935)) {
Expand Down

0 comments on commit 705f936

Please sign in to comment.