It works but rtmpdump.exe output directs the stream to file "stream.flv". I wanna use RTMPdump.exe output directs to my program, but i don't know Can I do that. My program is run when i open RTMPdump.exe by QProcess... How I can direct rtmpdump.exe output to running my program?
Code: Select all
QProcess* process = new QProcess(); QString program = "rtmpdump -r rtmp://184.108.40.206:443/share/gc-h2kmq -f WIN 11,9,900,152 -p http://www.sharecast.to -o stream.flv"; process->setProcessChannelMode(QProcess::MergedChannels); process->start(program);
Maybe u know how compile rtmpdump.cpp then will be easier...