Re: [Live-devel] Live video and audio streaming using one RTSPServer

2015-11-04 Thread Ross Finlayson
> Can you please give me a head start on how to correctly calculate the > presentation times? For instance, do I need to have the same time value for > an audio frame and a video frame that should be played together? Yes. > Should I use a shared presentation time variable for both streams? I’

Re: [Live-devel] Live video and audio streaming using one RTSPServer

2015-11-04 Thread Daniel Yacouboff
Hello Ross, Thanks for the kind and fast reply. Can you please give me a head start on how to correctly calculate the presentation times? For instance, do I need to have the same time value for an audio frame and a video frame that should be played together? Should I use a shared presentation t

Re: [Live-devel] Live video and audio streaming using one RTSPServer

2015-11-04 Thread Ross Finlayson
> What am I doing wrong? I’ve read a lot about it and it seems my presentation > times are not ok, but how can I calculate them properly? Yes, the problem seems to be the presentation times (i.e., the values of the “fPresentationTime” member variable) that you’re setting for both your audio and

Re: [Live-devel] RTCP RR reports do not reach to the server using UDP

2015-11-04 Thread Ross Finlayson
It wasn’t totally clear from your message, but you seem to be implying that there is a NAT between your server and your client - with your server on the public Internet, and your client in a private IP address space (i.e., behind a NAT). In general, you *cannot* expect RTP/RTCP/RTSP streaming t

[Live-devel] 回覆: Live video and audio streaming using one RTSPServer

2015-11-04 Thread Eric_Hsieh
Hi Daniel, First, you should ensure your time between audio and video are sync. Then, just put struct timval into fPresentation time(need sec and usec). Second, ensure your audio duration time is ok, you could refer ATDS source code. I hope this may help you. Thanks?. regards, eric, 11/04

[Live-devel] Live video and audio streaming using one RTSPServer

2015-11-04 Thread Daniel Yacouboff
Hello there, I've been working on your library for a while now, in order to implement a RTSP server, streaming live audio and video. The audio and video packets are received via TCP from another service, each type of packet (audio\video) to another socket. What I did was creating a new sub-classe

Re: [Live-devel] RTCP RR reports do not reach to the server using UDP

2015-11-04 Thread Muhammad Mohsin Abbasi
Hi Ross, Thanks for the earlier reply. Can you please examine my following observation and provide your kind feedback on this. our server is a public server and for this I am using testRTSPClient on my local machine. I observed the RTCP packets on wireshark at both client and server end. Wha