On 28/07/10 17:36, Umakant Goyal wrote:
Hi, Thanks for the reply. i have following points:
1. who will open the socket to send data libavformat library or my
application?
The socket is opened with url_fopen(), if the url is "rtp://..."
2. where i will configure which RTP payload i need to add on encoded data?
This is automatically configured by libavormat, when you call
av_write_header(), based on the codec type.
3. where i will configue psyload type and timestamp?
Again, the payload type is automatically determined by libavformat
(based on the codec_type); regarding the timestamp, you have to set it
in the AVPacket before calling av_interleaved_write_frame() (again, see
output-example.c for more details).
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user