Add preliminary FLV/RTMP output (incomplete)
- obs-outputs module: Add preliminary code to send out data, and add an FLV muxer. This time we don't really need to build the packets ourselves, we can just use the FLV muxer and send it directly to RTMP_Write and it should automatically parse the entire stream for us without us having to do much manual code at all. We'll see how it goes. - libobs: Add AVC NAL packet parsing code - libobs/media-io: Add quick helper functions for audio/video to get the width/height/fps/samplerate/etc rather than having to query the info structures each time. - libobs (obs-output.c): Change 'connect' signal to 'start' and 'stop' signals. 'start' now specifies an error code rather than whether it simply failed, that way the client can actually know *why* a failure occurred. Added those error codes to obs-defs.h. - libobs: Add a few functions to duplicate/free encoder packets
This commit is contained in:
parent
ed6fc7b122
commit
0cf9e0cfdd
29 changed files with 1083 additions and 63 deletions
|
|
@ -836,7 +836,7 @@ void OBSBasic::on_streamButton_clicked()
|
|||
return;
|
||||
|
||||
signal_handler_connect(obs_output_signalhandler(outputTest),
|
||||
"connect", OBSOutputConnect, this);
|
||||
"start", OBSOutputConnect, this);
|
||||
|
||||
obs_output_start(outputTest);
|
||||
ui->streamButton->setEnabled(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue