Hi,

I have one question about sending rtmp stream.


If audio/video encoding settings are not changed, I can send only once one data 
message of '@setDataFrame', one audio message of 'AAC sequence header', and one 
video message of 'AVC sequence header'. But I want to change audio or video 
encoding setting in the middle, such as width, height, and sample rate. Then I 
need send the three important RTMP messages again, i.e. '@setDataFrame', 'AAC 
sequence header', 'AVC sequence header'. But I can't call twice 
avformat_write_header(). How to update my new A/V encoding setting in the same 
RTMP session?


Thanks!


Regards


Andrew
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to