|
My A machine
TWMFNetWrite.OnStreamSample(wStreamNum: WORD; cnsSampleTime, cnsSampleDuration: int64;
dwFlags: DWORD; pSample: INSSBuffer; pvContext: pointer) to transmit each streaming media data to machine B.
After receiving the B machine, use the following sentence to write,
m_pWriterAdvanced.WriteStreamSample(wStreamNum, cnsSampleTime, 0, cnsSampleDuration, dwFlags, pSample);
The problem is: if you start to receive data from the beginning, it will be broadcasted quickly when writing on the B machine.
It is related to the parameter cnsSampleTime. The longer the playback time, the longer it will be. It seems like you usually watch online on-demand, and you will wait a long time by dragging the progress bar. How to speed up, please expert advice, I have thought about it for a week,
Almost unemployed... Thank you |
|