Ok. It was my problem. I should have opened the file as binary. I added the 'b'
to file open mode, and it worked.
FILE *fout = fopen(fname,"wb");
Thanks for your help.
Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer
Aldis<http://www.aldisco
ld occur.
I'll keep looking.
Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer
Aldis<http://www.aldiscorp.com/> | 10545 Hardin Valley Rd. | Knoxville TN |
37932
o: 865-978-6535 | f: 865-249-6608
From: live-devel-boun...@ns.live
medSource *src = scs.subsession->readSource();
scs.subsession->sink->startPlaying(*src, subsessionAfterPlaying,
scs.subsession);
if (scs.subsession->rtcpInstance() != NULL) {
scs.subsession->rtcpInstance()->setByeHandler(subsessionByeHandler,
scs.sub
Thanks.
I'm able to view the RTSP stream in VLC and the Onvif device manager, which
also uses Live555.
The buffer is plenty big enough, and I'm not seeing truncated bytes.
Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer
Aldis<http://www.aldiscorp.com/>
out = fopen(fname,"w");
fwrite(fReceiveBuffer, frameSize, 1, fout);
fclose(fout);
// Then continue, to request the next frame of data:
continuePlaying();
}
Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer
Aldis<http://www.aldiscorp.com/> | 10545 Hardin
doing this? It appears that
JPEGVideoRTPSource contains a private virtual function called
processSpecialHeader() that is meant for this task, but I don't understand the
Live555 architecture well enough to know how this should get called.
Thanks,
Tim
Tim Gee<mailto:tim@aldiscorp