Re: [Live-devel] Live h264 streaming in Android

2016-01-04 Thread Daniel Yacouboff
Hi Eric and Ross, 1) I admit I didn't explain myself fully - I use two different RTSPServer objects, with two different stream names, each one has only one MediaSession, one has a Video one, and one has an Audio one. I do that exactly because of the issue Eric mentioned he had, only that I decid

[Live-devel] Live h264 streaming in Android

2016-01-03 Thread Daniel Yacouboff
Hello there, I've sub-classed some of the live555 classes so I have a ServerMediaSession with two subsessions - one for h264 video and one for PCM audio. I stream to both subsession live media packets from my IP camera. Both streams work fine when I play them in VLC player. But when I try to play

[Live-devel] Audio codec supported by Android

2015-11-26 Thread Daniel Yacouboff
Hello there, I've been working on a RTSP server that streams both PCM audio (signed 16-bit) and H264 video. I've sub-classed the MediaSubsession classes and the ByteStream sources to fit my needs, so I receive the data via TCP instead of a file. Both streams work well when I play them via VLC, bu

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

2015-11-05 Thread Daniel Yacouboff
Sorry, I meant fLastPlayTime               -Original Message- From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, November 05, 2015 11:48 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Live video and audio

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

2015-11-05 Thread Daniel Yacouboff
Last question please, My audio is 16bit PCM, and the calculation of the presentation time and duration seems to be ok. However, my video is raw h264, and I don't guarantee that on each recv() call I get exactly one complete frame (I might get more than one frame, or a partial one), so 1) how ca

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

2015-11-05 Thread Daniel Yacouboff
Hi Ross, Should both streams at least have the same start value in presentation time? the fact is that the current calculation does not synched correctly between the two streams... Daniel Yacouboff QA and SW Engineer T: +972(73)2447-945 M: +972(54)6805-505 E: danie...@essence-grp.com

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

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

2015-11-04 Thread Daniel Yacouboff
211F5B7-C986-4790-B65C-1F8CB6060BF6] <http://www.linkedin.com/company/865102?trk=tyah&trkInfo=tas:essence%20g,idx:1-1-1> [cid:E725C345-8B3D-479D-8316-D67F8293CEE1] <https://plus.google.com/u/0/107922789033407857840/posts> Daniel Yacouboff QA and SW Engineer T: +972(73)2447-945 M: +972(5