Video calling with PJSIP on an iphone

RW
Rob Wilkes
Fri, Dec 3, 2010 8:51 PM

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.

Hi, I have started on an activity to get a basic Video call working on iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone written a video client with PJSIP specifically for the iphone? Are there any road blocks? ( I know PJSIP doesnt support video for now, but I plan to extend it - my question is more in the iPhone side). Prelim. analysis shows I can pass H.264 streams to the iphone media player framework and it can instantiate the appropriate player. My approximate plan is to send audio + video data using PJSIP, then extend PJSIP to support video decoding and pass the decoded H264 buffer to the media framework of iphone.
BP
Benny Prijono
Sat, Dec 4, 2010 3:12 AM

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
 Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi, FYI we are also working on video and it is planned for the upcoming 2.0 release. Have a look at our roadmap in the trac site. Best regards,  Benny On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > Hi, I have started on an activity to get a basic Video call working on > iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone > written a video client with PJSIP specifically for the iphone? Are there any > road blocks? ( I know PJSIP doesnt support video for now, but I plan to > extend it - my question is more in the iPhone side). Prelim. analysis shows > I can pass H.264 streams to the iphone media player framework and it can > instantiate the appropriate player. My approximate plan is to send audio + > video data using PJSIP, then extend PJSIP to support video decoding and pass > the decoded H264 buffer to the media framework of iphone. > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
BS
bo shi
Sat, Dec 4, 2010 12:46 PM

Hi Benny,
2.0 will be released on (01/01/2011)?
Thanks,
bo

On Sat, Dec 4, 2010 at 11:12 AM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
 Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Benny, 2.0 will be released on (01/01/2011)? Thanks, bo On Sat, Dec 4, 2010 at 11:12 AM, Benny Prijono <bennylp@teluu.com> wrote: > Hi, FYI we are also working on video and it is planned for the > upcoming 2.0 release. Have a look at our roadmap in the trac site. > > Best regards, >  Benny > > > On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> Hi, I have started on an activity to get a basic Video call working on >> iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone >> written a video client with PJSIP specifically for the iphone? Are there any >> road blocks? ( I know PJSIP doesnt support video for now, but I plan to >> extend it - my question is more in the iPhone side). Prelim. analysis shows >> I can pass H.264 streams to the iphone media player framework and it can >> instantiate the appropriate player. My approximate plan is to send audio + >> video data using PJSIP, then extend PJSIP to support video decoding and pass >> the decoded H264 buffer to the media framework of iphone. >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
RW
Rob Wilkes
Sat, Dec 4, 2010 1:42 PM

Hi Benny, Yes, I know PJSIP also plans to support it - but for this project,
I cannot wait for that update, so I plan to do it myself. Since you may be
ahead of me, I was curious if there are any restrictions in the iPhone APIs
itself that will inhibit PJSIP (or any other stack) to not work with video.
For example, it looks like I cannot use the Movie Player class as it expects
a URL.For  this to work, we will need frame/frame encode/decode and display
support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there

any

road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis

shows

I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio

video data using PJSIP, then extend PJSIP to support video decoding and

pass

the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For this to work, we will need frame/frame encode/decode and display support on the iPhone. thanks! On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: > Hi, FYI we are also working on video and it is planned for the > upcoming 2.0 release. Have a look at our roadmap in the trac site. > > Best regards, > Benny > > > On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > > Hi, I have started on an activity to get a basic Video call working on > > iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone > > written a video client with PJSIP specifically for the iphone? Are there > any > > road blocks? ( I know PJSIP doesnt support video for now, but I plan to > > extend it - my question is more in the iPhone side). Prelim. analysis > shows > > I can pass H.264 streams to the iphone media player framework and it can > > instantiate the appropriate player. My approximate plan is to send audio > + > > video data using PJSIP, then extend PJSIP to support video decoding and > pass > > the decoded H264 buffer to the media framework of iphone. > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
RW
Rob Wilkes
Sat, Dec 4, 2010 2:26 PM

I also noticed that your roadmap says it will initially be for windows. My
requirement is for iphone. I guess my question is not really a PJSIP
question, but rather to developers who may have used PJ to make video work
on iPhone - just wanted to check if it is doable or impossible today due to
some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this
project, I cannot wait for that update, so I plan to do it myself. Since you
may be ahead of me, I was curious if there are any restrictions in the
iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work
with video. For example, it looks like I cannot use the Movie Player class
as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there

any

road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis

shows

I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio

video data using PJSIP, then extend PJSIP to support video decoding and

pass

the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :) On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > Hi Benny, Yes, I know PJSIP also plans to support it - but for this > project, I cannot wait for that update, so I plan to do it myself. Since you > may be ahead of me, I was curious if there are any restrictions in the > iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work > with video. For example, it looks like I cannot use the Movie Player class > as it expects a URL.For this to work, we will need frame/frame > encode/decode and display support on the iPhone. > > thanks! > > > On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: > >> Hi, FYI we are also working on video and it is planned for the >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >> >> Best regards, >> Benny >> >> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> > Hi, I have started on an activity to get a basic Video call working on >> > iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone >> > written a video client with PJSIP specifically for the iphone? Are there >> any >> > road blocks? ( I know PJSIP doesnt support video for now, but I plan to >> > extend it - my question is more in the iPhone side). Prelim. analysis >> shows >> > I can pass H.264 streams to the iphone media player framework and it can >> > instantiate the appropriate player. My approximate plan is to send audio >> + >> > video data using PJSIP, then extend PJSIP to support video decoding and >> pass >> > the decoded H264 buffer to the media framework of iphone. >> > >> > >> > _______________________________________________ >> > Visit our blog: http://blog.pjsip.org >> > >> > pjsip mailing list >> > pjsip@lists.pjsip.org >> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > >> > >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > >
DY
Dzmitry Yablonski
Sat, Dec 4, 2010 3:02 PM

Hello Rob

We have implemented video call with PjSip 1.8.5 on iPhone.

Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:

I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:
Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For  this to work, we will need frame/frame encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:
Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hello Rob We have implemented video call with PjSip 1.8.5 on iPhone. Best regards, Dima. On 04.12.2010, at 15:26, Rob Wilkes wrote: > I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :) > > On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For this to work, we will need frame/frame encode/decode and display support on the iPhone. > > thanks! > > > On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: > Hi, FYI we are also working on video and it is planned for the > upcoming 2.0 release. Have a look at our roadmap in the trac site. > > Best regards, > Benny > > > On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > > Hi, I have started on an activity to get a basic Video call working on > > iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone > > written a video client with PJSIP specifically for the iphone? Are there any > > road blocks? ( I know PJSIP doesnt support video for now, but I plan to > > extend it - my question is more in the iPhone side). Prelim. analysis shows > > I can pass H.264 streams to the iphone media player framework and it can > > instantiate the appropriate player. My approximate plan is to send audio + > > video data using PJSIP, then extend PJSIP to support video decoding and pass > > the decoded H264 buffer to the media framework of iphone. > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
BS
bo shi
Sat, Dec 4, 2010 3:41 PM

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For  this to work, we will need frame/frame encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
 Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org http://blog.pjsip.org/

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Dima, I learned that the iPhone sdk does not publish the H.264 codec API, so developer can not use hardware decoder to decode raw H.264 stream directly, how can you do that? You decode video in soft way? Thanks in advance! Bo On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> wrote: > Hello Rob > We have implemented video call with PjSip 1.8.5 on iPhone. > Best regards, Dima. > > > On 04.12.2010, at 15:26, Rob Wilkes wrote: > I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :) > > On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > > Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For  this to work, we will need frame/frame encode/decode and display support on the iPhone. > > > thanks! > > On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: > > Hi, FYI we are also working on video and it is planned for the > upcoming 2.0 release. Have a look at our roadmap in the trac site. > > Best regards, >  Benny > > > On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> Hi, I have started on an activity to get a basic Video call working on >> iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone >> written a video client with PJSIP specifically for the iphone? Are there any >> road blocks? ( I know PJSIP doesnt support video for now, but I plan to >> extend it - my question is more in the iPhone side). Prelim. analysis shows >> I can pass H.264 streams to the iphone media player framework and it can >> instantiate the appropriate player. My approximate plan is to send audio + >> video data using PJSIP, then extend PJSIP to support video decoding and pass >> the decoded H264 buffer to the media framework of iphone. >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
DY
Dzmitry Yablonski
Sat, Dec 4, 2010 4:55 PM

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For  this to work, we will need frame/frame encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org http://blog.pjsip.org/

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Bo Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for decode h264. best regards, Dima On 04.12.2010, at 16:41, bo shi wrote: > Hi Dima, > I learned that the iPhone sdk does not publish the H.264 codec API, > so developer can not use hardware decoder to decode raw H.264 stream > directly, how can you do that? You decode video in soft way? > > Thanks in advance! > Bo > > > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> wrote: >> Hello Rob >> We have implemented video call with PjSip 1.8.5 on iPhone. >> Best regards, Dima. >> >> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >> I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :) >> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For this to work, we will need frame/frame encode/decode and display support on the iPhone. >> >> >> thanks! >> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: >> >> Hi, FYI we are also working on video and it is planned for the >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >> >> Best regards, >> Benny >> >> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >>> Hi, I have started on an activity to get a basic Video call working on >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone >>> written a video client with PJSIP specifically for the iphone? Are there any >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan to >>> extend it - my question is more in the iPhone side). Prelim. analysis shows >>> I can pass H.264 streams to the iphone media player framework and it can >>> instantiate the appropriate player. My approximate plan is to send audio + >>> video data using PJSIP, then extend PJSIP to support video decoding and pass >>> the decoded H264 buffer to the media framework of iphone. >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
RW
Rob Wilkes
Sun, Dec 5, 2010 12:55 PM

Super! That's all  I need to know - that it is practically possible without
mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for
decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com

wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for windows.

My requirement is for iphone. I guess my question is not really a PJSIP
question, but rather to developers who may have used PJ to make video work
on iPhone - just wanted to check if it is doable or impossible today due to
some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this

project, I cannot wait for that update, so I plan to do it myself. Since you
may be ahead of me, I was curious if there are any restrictions in the
iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work
with video. For example, it looks like I cannot use the Movie Player class
as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com

wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has

anyone

written a video client with PJSIP specifically for the iphone? Are

there any

road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis

shows

I can pass H.264 streams to the iphone media player framework and it

can

instantiate the appropriate player. My approximate plan is to send

audio +

video data using PJSIP, then extend PJSIP to support video decoding and

pass

Super! That's all I need to know - that it is practically possible without mind bending hacks :) Thanks. On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: > Hi Bo > > Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for > decode h264. > > best regards, Dima > > > On 04.12.2010, at 16:41, bo shi wrote: > > > Hi Dima, > > I learned that the iPhone sdk does not publish the H.264 codec API, > > so developer can not use hardware decoder to decode raw H.264 stream > > directly, how can you do that? You decode video in soft way? > > > > Thanks in advance! > > Bo > > > > > > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> > wrote: > >> Hello Rob > >> We have implemented video call with PjSip 1.8.5 on iPhone. > >> Best regards, Dima. > >> > >> > >> On 04.12.2010, at 15:26, Rob Wilkes wrote: > >> I also noticed that your roadmap says it will initially be for windows. > My requirement is for iphone. I guess my question is not really a PJSIP > question, but rather to developers who may have used PJ to make video work > on iPhone - just wanted to check if it is doable or impossible today due to > some iphone restriction :) > >> > >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > >> > >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this > project, I cannot wait for that update, so I plan to do it myself. Since you > may be ahead of me, I was curious if there are any restrictions in the > iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work > with video. For example, it looks like I cannot use the Movie Player class > as it expects a URL.For this to work, we will need frame/frame > encode/decode and display support on the iPhone. > >> > >> > >> thanks! > >> > >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> > wrote: > >> > >> Hi, FYI we are also working on video and it is planned for the > >> upcoming 2.0 release. Have a look at our roadmap in the trac site. > >> > >> Best regards, > >> Benny > >> > >> > >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > >>> Hi, I have started on an activity to get a basic Video call working on > >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has > anyone > >>> written a video client with PJSIP specifically for the iphone? Are > there any > >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan to > >>> extend it - my question is more in the iPhone side). Prelim. analysis > shows > >>> I can pass H.264 streams to the iphone media player framework and it > can > >>> instantiate the appropriate player. My approximate plan is to send > audio + > >>> video data using PJSIP, then extend PJSIP to support video decoding and > pass > >>> the decoded H264 buffer to the media framework of iphone. > >>> > >>> > >>> _______________________________________________ > >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> > >>> > >>> pjsip mailing list > >>> pjsip@lists.pjsip.org > >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>> > >>> > >> > >> _______________________________________________ > >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> > >> > >> pjsip mailing list > >> pjsip@lists.pjsip.org > >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >> > >> > >> > >> _______________________________________________ > >> Visit our blog: http://blog.pjsip.org > >> > >> pjsip mailing list > >> pjsip@lists.pjsip.org > >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >> > >> > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
DY
Dzmitry Yablonski
Sun, Dec 5, 2010 1:40 PM

Hi Rob

You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.

Best regards, Dima

On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.com wrote:
Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For  this to work, we will need frame/frame encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org http://blog.pjsip.org/

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Rob You should add Video media to PjSip. Use UIImageView for displaying frames after decoding. Best regards, Dima On 05.12.2010, at 13:55, Rob Wilkes wrote: > Super! That's all I need to know - that it is practically possible without mind bending hacks :) > Thanks. > > On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com> wrote: > Hi Bo > > Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for decode h264. > > best regards, Dima > > > On 04.12.2010, at 16:41, bo shi wrote: > > > Hi Dima, > > I learned that the iPhone sdk does not publish the H.264 codec API, > > so developer can not use hardware decoder to decode raw H.264 stream > > directly, how can you do that? You decode video in soft way? > > > > Thanks in advance! > > Bo > > > > > > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> wrote: > >> Hello Rob > >> We have implemented video call with PjSip 1.8.5 on iPhone. > >> Best regards, Dima. > >> > >> > >> On 04.12.2010, at 15:26, Rob Wilkes wrote: > >> I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :) > >> > >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > >> > >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For this to work, we will need frame/frame encode/decode and display support on the iPhone. > >> > >> > >> thanks! > >> > >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: > >> > >> Hi, FYI we are also working on video and it is planned for the > >> upcoming 2.0 release. Have a look at our roadmap in the trac site. > >> > >> Best regards, > >> Benny > >> > >> > >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > >>> Hi, I have started on an activity to get a basic Video call working on > >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone > >>> written a video client with PJSIP specifically for the iphone? Are there any > >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan to > >>> extend it - my question is more in the iPhone side). Prelim. analysis shows > >>> I can pass H.264 streams to the iphone media player framework and it can > >>> instantiate the appropriate player. My approximate plan is to send audio + > >>> video data using PJSIP, then extend PJSIP to support video decoding and pass > >>> the decoded H264 buffer to the media framework of iphone. > >>> > >>> > >>> _______________________________________________ > >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> > >>> > >>> pjsip mailing list > >>> pjsip@lists.pjsip.org > >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>> > >>> > >> > >> _______________________________________________ > >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> > >> > >> pjsip mailing list > >> pjsip@lists.pjsip.org > >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >> > >> > >> > >> _______________________________________________ > >> Visit our blog: http://blog.pjsip.org > >> > >> pjsip mailing list > >> pjsip@lists.pjsip.org > >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >> > >> > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
RW
Rob Wilkes
Sun, Dec 5, 2010 2:39 PM

Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS
core media framework.
So you are suggesting that I construct a UIImage from the raw decoded H.264
buffer and pass it to UIImageView for each frame? I thought this would be
very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.com wrote:

Hi Rob

You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.

Best regards, Dima

On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible without
mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for
decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com

wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for windows.

My requirement is for iphone. I guess my question is not really a PJSIP
question, but rather to developers who may have used PJ to make video work
on iPhone - just wanted to check if it is doable or impossible today due to
some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this

project, I cannot wait for that update, so I plan to do it myself. Since you
may be ahead of me, I was curious if there are any restrictions in the
iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work
with video. For example, it looks like I cannot use the Movie Player class
as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com

wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has

anyone

written a video client with PJSIP specifically for the iphone? Are

there any

road blocks? ( I know PJSIP doesnt support video for now, but I plan

to

extend it - my question is more in the iPhone side). Prelim. analysis

shows

I can pass H.264 streams to the iphone media player framework and it

can

instantiate the appropriate player. My approximate plan is to send

audio +

video data using PJSIP, then extend PJSIP to support video decoding

and pass

Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS core media framework. So you are suggesting that I construct a UIImage from the raw decoded H.264 buffer and pass it to UIImageView for each frame? I thought this would be very slow, but I guess you've done it! On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com> wrote: > Hi Rob > > You should add Video media to PjSip. > Use UIImageView for displaying frames after decoding. > > Best regards, Dima > > On 05.12.2010, at 13:55, Rob Wilkes wrote: > > Super! That's all I need to know - that it is practically possible without > mind bending hacks :) > Thanks. > > On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: > >> Hi Bo >> >> Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for >> decode h264. >> >> best regards, Dima >> >> >> On 04.12.2010, at 16:41, bo shi wrote: >> >> > Hi Dima, >> > I learned that the iPhone sdk does not publish the H.264 codec API, >> > so developer can not use hardware decoder to decode raw H.264 stream >> > directly, how can you do that? You decode video in soft way? >> > >> > Thanks in advance! >> > Bo >> > >> > >> > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> >> wrote: >> >> Hello Rob >> >> We have implemented video call with PjSip 1.8.5 on iPhone. >> >> Best regards, Dima. >> >> >> >> >> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >> >> I also noticed that your roadmap says it will initially be for windows. >> My requirement is for iphone. I guess my question is not really a PJSIP >> question, but rather to developers who may have used PJ to make video work >> on iPhone - just wanted to check if it is doable or impossible today due to >> some iphone restriction :) >> >> >> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> >> >> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this >> project, I cannot wait for that update, so I plan to do it myself. Since you >> may be ahead of me, I was curious if there are any restrictions in the >> iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work >> with video. For example, it looks like I cannot use the Movie Player class >> as it expects a URL.For this to work, we will need frame/frame >> encode/decode and display support on the iPhone. >> >> >> >> >> >> thanks! >> >> >> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> >> wrote: >> >> >> >> Hi, FYI we are also working on video and it is planned for the >> >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >> >> >> >> Best regards, >> >> Benny >> >> >> >> >> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> >>> Hi, I have started on an activity to get a basic Video call working on >> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has >> anyone >> >>> written a video client with PJSIP specifically for the iphone? Are >> there any >> >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan >> to >> >>> extend it - my question is more in the iPhone side). Prelim. analysis >> shows >> >>> I can pass H.264 streams to the iphone media player framework and it >> can >> >>> instantiate the appropriate player. My approximate plan is to send >> audio + >> >>> video data using PJSIP, then extend PJSIP to support video decoding >> and pass >> >>> the decoded H264 buffer to the media framework of iphone. >> >>> >> >>> >> >>> _______________________________________________ >> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >>> >> >>> pjsip mailing list >> >>> pjsip@lists.pjsip.org >> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>> >> >>> >> >> >> >> _______________________________________________ >> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >> >> >> pjsip mailing list >> >> pjsip@lists.pjsip.org >> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> >> >> >> >> _______________________________________________ >> >> Visit our blog: http://blog.pjsip.org >> >> >> >> pjsip mailing list >> >> pjsip@lists.pjsip.org >> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> >> > >> > _______________________________________________ >> > Visit our blog: http://blog.pjsip.org >> > >> > pjsip mailing list >> > pjsip@lists.pjsip.org >> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
DY
Dzmitry Yablonski
Sun, Dec 5, 2010 3:01 PM

You could check it. Try to load array of images and renew UIImageView with images from array for different FPS. You could also try to play with image size and UIImageView size (fit image to screen for different orientation mode).

On 05.12.2010, at 15:39, Rob Wilkes wrote:

Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS core media framework.
So you are suggesting that I construct a UIImage from the raw decoded H.264 buffer and pass it to UIImageView for each frame? I thought this would be very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.com wrote:
Hi Rob

You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.

Best regards, Dima

On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.com wrote:
Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For  this to work, we will need frame/frame encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org http://blog.pjsip.org/

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

You could check it. Try to load array of images and renew UIImageView with images from array for different FPS. You could also try to play with image size and UIImageView size (fit image to screen for different orientation mode). On 05.12.2010, at 15:39, Rob Wilkes wrote: > Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS core media framework. > So you are suggesting that I construct a UIImage from the raw decoded H.264 buffer and pass it to UIImageView for each frame? I thought this would be very slow, but I guess you've done it! > > > On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com> wrote: > Hi Rob > > You should add Video media to PjSip. > Use UIImageView for displaying frames after decoding. > > Best regards, Dima > > On 05.12.2010, at 13:55, Rob Wilkes wrote: > >> Super! That's all I need to know - that it is practically possible without mind bending hacks :) >> Thanks. >> >> On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com> wrote: >> Hi Bo >> >> Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) for decode h264. >> >> best regards, Dima >> >> >> On 04.12.2010, at 16:41, bo shi wrote: >> >> > Hi Dima, >> > I learned that the iPhone sdk does not publish the H.264 codec API, >> > so developer can not use hardware decoder to decode raw H.264 stream >> > directly, how can you do that? You decode video in soft way? >> > >> > Thanks in advance! >> > Bo >> > >> > >> > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> wrote: >> >> Hello Rob >> >> We have implemented video call with PjSip 1.8.5 on iPhone. >> >> Best regards, Dima. >> >> >> >> >> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >> >> I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone - just wanted to check if it is doable or impossible today due to some iphone restriction :) >> >> >> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> >> >> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use the Movie Player class as it expects a URL.For this to work, we will need frame/frame encode/decode and display support on the iPhone. >> >> >> >> >> >> thanks! >> >> >> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: >> >> >> >> Hi, FYI we are also working on video and it is planned for the >> >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >> >> >> >> Best regards, >> >> Benny >> >> >> >> >> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> >>> Hi, I have started on an activity to get a basic Video call working on >> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone >> >>> written a video client with PJSIP specifically for the iphone? Are there any >> >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan to >> >>> extend it - my question is more in the iPhone side). Prelim. analysis shows >> >>> I can pass H.264 streams to the iphone media player framework and it can >> >>> instantiate the appropriate player. My approximate plan is to send audio + >> >>> video data using PJSIP, then extend PJSIP to support video decoding and pass >> >>> the decoded H264 buffer to the media framework of iphone. >> >>> >> >>> >> >>> _______________________________________________ >> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >>> >> >>> pjsip mailing list >> >>> pjsip@lists.pjsip.org >> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>> >> >>> >> >> >> >> _______________________________________________ >> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >> >> >> pjsip mailing list >> >> pjsip@lists.pjsip.org >> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> >> >> >> >> _______________________________________________ >> >> Visit our blog: http://blog.pjsip.org >> >> >> >> pjsip mailing list >> >> pjsip@lists.pjsip.org >> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> >> > >> > _______________________________________________ >> > Visit our blog: http://blog.pjsip.org >> > >> > pjsip mailing list >> > pjsip@lists.pjsip.org >> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
RW
Rob Wilkes
Sun, Dec 5, 2010 3:12 PM

Excellent. Thanks - you just reduced my workload by 90%

On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

You could check it. Try to load array of images and renew UIImageView with
images from array for different FPS. You could also try to play with image
size and UIImageView size (fit image to screen for different orientation
mode).

On 05.12.2010, at 15:39, Rob Wilkes wrote:

Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS
core media framework.
So you are suggesting that I construct a UIImage from the raw decoded H.264
buffer and pass it to UIImageView for each frame? I thought this would be
very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Rob

You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.

Best regards, Dima

On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible
without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html)
for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com

wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for

windows. My requirement is for iphone. I guess my question is not really a
PJSIP question, but rather to developers who may have used PJ to make video
work on iPhone - just wanted to check if it is doable or impossible today
due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this

project, I cannot wait for that update, so I plan to do it myself. Since you
may be ahead of me, I was curious if there are any restrictions in the
iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work
with video. For example, it looks like I cannot use the Movie Player class
as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com

wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working

on

iPhone. It needs be be over RTP, preferably with H.264 codec. Has

anyone

written a video client with PJSIP specifically for the iphone? Are

there any

road blocks? ( I know PJSIP doesnt support video for now, but I plan

to

extend it - my question is more in the iPhone side). Prelim. analysis

shows

I can pass H.264 streams to the iphone media player framework and it

can

instantiate the appropriate player. My approximate plan is to send

audio +

video data using PJSIP, then extend PJSIP to support video decoding

and pass

Excellent. Thanks - you just reduced my workload by 90% On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: > You could check it. Try to load array of images and renew UIImageView with > images from array for different FPS. You could also try to play with image > size and UIImageView size (fit image to screen for different orientation > mode). > > On 05.12.2010, at 15:39, Rob Wilkes wrote: > > Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS > core media framework. > So you are suggesting that I construct a UIImage from the raw decoded H.264 > buffer and pass it to UIImageView for each frame? I thought this would be > very slow, but I guess you've done it! > > > On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: > >> Hi Rob >> >> You should add Video media to PjSip. >> Use UIImageView for displaying frames after decoding. >> >> Best regards, Dima >> >> On 05.12.2010, at 13:55, Rob Wilkes wrote: >> >> Super! That's all I need to know - that it is practically possible >> without mind bending hacks :) >> Thanks. >> >> On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: >> >>> Hi Bo >>> >>> Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) >>> for decode h264. >>> >>> best regards, Dima >>> >>> >>> On 04.12.2010, at 16:41, bo shi wrote: >>> >>> > Hi Dima, >>> > I learned that the iPhone sdk does not publish the H.264 codec API, >>> > so developer can not use hardware decoder to decode raw H.264 stream >>> > directly, how can you do that? You decode video in soft way? >>> > >>> > Thanks in advance! >>> > Bo >>> > >>> > >>> > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> >>> wrote: >>> >> Hello Rob >>> >> We have implemented video call with PjSip 1.8.5 on iPhone. >>> >> Best regards, Dima. >>> >> >>> >> >>> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >>> >> I also noticed that your roadmap says it will initially be for >>> windows. My requirement is for iphone. I guess my question is not really a >>> PJSIP question, but rather to developers who may have used PJ to make video >>> work on iPhone - just wanted to check if it is doable or impossible today >>> due to some iphone restriction :) >>> >> >>> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >>> >> >>> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this >>> project, I cannot wait for that update, so I plan to do it myself. Since you >>> may be ahead of me, I was curious if there are any restrictions in the >>> iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work >>> with video. For example, it looks like I cannot use the Movie Player class >>> as it expects a URL.For this to work, we will need frame/frame >>> encode/decode and display support on the iPhone. >>> >> >>> >> >>> >> thanks! >>> >> >>> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> >>> wrote: >>> >> >>> >> Hi, FYI we are also working on video and it is planned for the >>> >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >>> >> >>> >> Best regards, >>> >> Benny >>> >> >>> >> >>> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >>> >>> Hi, I have started on an activity to get a basic Video call working >>> on >>> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has >>> anyone >>> >>> written a video client with PJSIP specifically for the iphone? Are >>> there any >>> >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan >>> to >>> >>> extend it - my question is more in the iPhone side). Prelim. analysis >>> shows >>> >>> I can pass H.264 streams to the iphone media player framework and it >>> can >>> >>> instantiate the appropriate player. My approximate plan is to send >>> audio + >>> >>> video data using PJSIP, then extend PJSIP to support video decoding >>> and pass >>> >>> the decoded H264 buffer to the media framework of iphone. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>> >>> >>> >>> pjsip mailing list >>> >>> pjsip@lists.pjsip.org >>> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> >>> >>> >> >>> >> _______________________________________________ >>> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>> >> >>> >> pjsip mailing list >>> >> pjsip@lists.pjsip.org >>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >>> >> >>> >> >>> >> _______________________________________________ >>> >> Visit our blog: http://blog.pjsip.org >>> >> >>> >> pjsip mailing list >>> >> pjsip@lists.pjsip.org >>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >>> >> >>> > >>> > _______________________________________________ >>> > Visit our blog: http://blog.pjsip.org >>> > >>> > pjsip mailing list >>> > pjsip@lists.pjsip.org >>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
RW
Rob Wilkes
Mon, Dec 6, 2010 2:36 AM

Dzmitry, I now have an iphone build for x264. Just as a quick clarification,
I only need libx264.a - I can discard the ffmpeg and xvid libraries, right?
Did you find any easy tutorial on how to use x264 libraries? As my first
test, I am planning to write a small iphone program that just picks up some
encoded frames in H264 and I want to pass it to x264 to decode as raw so I
can construct and display an UIImage. Once I have that, I will integrate
with PJ. X264 is completely new to me.

thx

On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

You could check it. Try to load array of images and renew UIImageView with
images from array for different FPS. You could also try to play with image
size and UIImageView size (fit image to screen for different orientation
mode).

On 05.12.2010, at 15:39, Rob Wilkes wrote:

Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS
core media framework.
So you are suggesting that I construct a UIImage from the raw decoded H.264
buffer and pass it to UIImageView for each frame? I thought this would be
very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Rob

You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.

Best regards, Dima

On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible
without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html)
for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com

wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for

windows. My requirement is for iphone. I guess my question is not really a
PJSIP question, but rather to developers who may have used PJ to make video
work on iPhone - just wanted to check if it is doable or impossible today
due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this

project, I cannot wait for that update, so I plan to do it myself. Since you
may be ahead of me, I was curious if there are any restrictions in the
iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work
with video. For example, it looks like I cannot use the Movie Player class
as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com

wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working

on

iPhone. It needs be be over RTP, preferably with H.264 codec. Has

anyone

written a video client with PJSIP specifically for the iphone? Are

there any

road blocks? ( I know PJSIP doesnt support video for now, but I plan

to

extend it - my question is more in the iPhone side). Prelim. analysis

shows

I can pass H.264 streams to the iphone media player framework and it

can

instantiate the appropriate player. My approximate plan is to send

audio +

video data using PJSIP, then extend PJSIP to support video decoding

and pass

Dzmitry, I now have an iphone build for x264. Just as a quick clarification, I only need libx264.a - I can discard the ffmpeg and xvid libraries, right? Did you find any easy tutorial on how to use x264 libraries? As my first test, I am planning to write a small iphone program that just picks up some encoded frames in H264 and I want to pass it to x264 to decode as raw so I can construct and display an UIImage. Once I have that, I will integrate with PJ. X264 is completely new to me. thx On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: > You could check it. Try to load array of images and renew UIImageView with > images from array for different FPS. You could also try to play with image > size and UIImageView size (fit image to screen for different orientation > mode). > > On 05.12.2010, at 15:39, Rob Wilkes wrote: > > Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS > core media framework. > So you are suggesting that I construct a UIImage from the raw decoded H.264 > buffer and pass it to UIImageView for each frame? I thought this would be > very slow, but I guess you've done it! > > > On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: > >> Hi Rob >> >> You should add Video media to PjSip. >> Use UIImageView for displaying frames after decoding. >> >> Best regards, Dima >> >> On 05.12.2010, at 13:55, Rob Wilkes wrote: >> >> Super! That's all I need to know - that it is practically possible >> without mind bending hacks :) >> Thanks. >> >> On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: >> >>> Hi Bo >>> >>> Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) >>> for decode h264. >>> >>> best regards, Dima >>> >>> >>> On 04.12.2010, at 16:41, bo shi wrote: >>> >>> > Hi Dima, >>> > I learned that the iPhone sdk does not publish the H.264 codec API, >>> > so developer can not use hardware decoder to decode raw H.264 stream >>> > directly, how can you do that? You decode video in soft way? >>> > >>> > Thanks in advance! >>> > Bo >>> > >>> > >>> > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> >>> wrote: >>> >> Hello Rob >>> >> We have implemented video call with PjSip 1.8.5 on iPhone. >>> >> Best regards, Dima. >>> >> >>> >> >>> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >>> >> I also noticed that your roadmap says it will initially be for >>> windows. My requirement is for iphone. I guess my question is not really a >>> PJSIP question, but rather to developers who may have used PJ to make video >>> work on iPhone - just wanted to check if it is doable or impossible today >>> due to some iphone restriction :) >>> >> >>> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >>> >> >>> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this >>> project, I cannot wait for that update, so I plan to do it myself. Since you >>> may be ahead of me, I was curious if there are any restrictions in the >>> iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work >>> with video. For example, it looks like I cannot use the Movie Player class >>> as it expects a URL.For this to work, we will need frame/frame >>> encode/decode and display support on the iPhone. >>> >> >>> >> >>> >> thanks! >>> >> >>> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> >>> wrote: >>> >> >>> >> Hi, FYI we are also working on video and it is planned for the >>> >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >>> >> >>> >> Best regards, >>> >> Benny >>> >> >>> >> >>> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >>> >>> Hi, I have started on an activity to get a basic Video call working >>> on >>> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has >>> anyone >>> >>> written a video client with PJSIP specifically for the iphone? Are >>> there any >>> >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan >>> to >>> >>> extend it - my question is more in the iPhone side). Prelim. analysis >>> shows >>> >>> I can pass H.264 streams to the iphone media player framework and it >>> can >>> >>> instantiate the appropriate player. My approximate plan is to send >>> audio + >>> >>> video data using PJSIP, then extend PJSIP to support video decoding >>> and pass >>> >>> the decoded H264 buffer to the media framework of iphone. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>> >>> >>> >>> pjsip mailing list >>> >>> pjsip@lists.pjsip.org >>> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> >>> >>> >> >>> >> _______________________________________________ >>> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>> >> >>> >> pjsip mailing list >>> >> pjsip@lists.pjsip.org >>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >>> >> >>> >> >>> >> _______________________________________________ >>> >> Visit our blog: http://blog.pjsip.org >>> >> >>> >> pjsip mailing list >>> >> pjsip@lists.pjsip.org >>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >>> >> >>> > >>> > _______________________________________________ >>> > Visit our blog: http://blog.pjsip.org >>> > >>> > pjsip mailing list >>> > pjsip@lists.pjsip.org >>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
RW
Rob Wilkes
Mon, Dec 6, 2010 2:54 AM

Never mind - got it sorted out. Thanks!

On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes wilkrob@gmail.com wrote:

Dzmitry, I now have an iphone build for x264. Just as a quick
clarification, I only need libx264.a - I can discard the ffmpeg and xvid
libraries, right? Did you find any easy tutorial on how to use x264
libraries? As my first test, I am planning to write a small iphone program
that just picks up some encoded frames in H264 and I want to pass it to x264
to decode as raw so I can construct and display an UIImage. Once I have
that, I will integrate with PJ. X264 is completely new to me.

thx

On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

You could check it. Try to load array of images and renew UIImageView with
images from array for different FPS. You could also try to play with image
size and UIImageView size (fit image to screen for different orientation
mode).

On 05.12.2010, at 15:39, Rob Wilkes wrote:

Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS
core media framework.
So you are suggesting that I construct a UIImage from the raw decoded
H.264 buffer and pass it to UIImageView for each frame? I thought this would
be very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Rob

You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.

Best regards, Dima

On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible
without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.comwrote:

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html)
for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com

wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for

windows. My requirement is for iphone. I guess my question is not really a
PJSIP question, but rather to developers who may have used PJ to make video
work on iPhone - just wanted to check if it is doable or impossible today
due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com

wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this

project, I cannot wait for that update, so I plan to do it myself. Since you
may be ahead of me, I was curious if there are any restrictions in the
iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work
with video. For example, it looks like I cannot use the Movie Player class
as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com

wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com

wrote:

Hi, I have started on an activity to get a basic Video call working

on

iPhone. It needs be be over RTP, preferably with H.264 codec. Has

anyone

written a video client with PJSIP specifically for the iphone? Are

there any

road blocks? ( I know PJSIP doesnt support video for now, but I plan

to

extend it - my question is more in the iPhone side). Prelim.

analysis shows

I can pass H.264 streams to the iphone media player framework and it

can

instantiate the appropriate player. My approximate plan is to send

audio +

video data using PJSIP, then extend PJSIP to support video decoding

and pass

Never mind - got it sorted out. Thanks! On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes <wilkrob@gmail.com> wrote: > Dzmitry, I now have an iphone build for x264. Just as a quick > clarification, I only need libx264.a - I can discard the ffmpeg and xvid > libraries, right? Did you find any easy tutorial on how to use x264 > libraries? As my first test, I am planning to write a small iphone program > that just picks up some encoded frames in H264 and I want to pass it to x264 > to decode as raw so I can construct and display an UIImage. Once I have > that, I will integrate with PJ. X264 is completely new to me. > > thx > > > On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: > >> You could check it. Try to load array of images and renew UIImageView with >> images from array for different FPS. You could also try to play with image >> size and UIImageView size (fit image to screen for different orientation >> mode). >> >> On 05.12.2010, at 15:39, Rob Wilkes wrote: >> >> Now this is very interesting, Dzmitry. I thought I have to fiddle with iOS >> core media framework. >> So you are suggesting that I construct a UIImage from the raw decoded >> H.264 buffer and pass it to UIImageView for each frame? I thought this would >> be very slow, but I guess you've done it! >> >> >> On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: >> >>> Hi Rob >>> >>> You should add Video media to PjSip. >>> Use UIImageView for displaying frames after decoding. >>> >>> Best regards, Dima >>> >>> On 05.12.2010, at 13:55, Rob Wilkes wrote: >>> >>> Super! That's all I need to know - that it is practically possible >>> without mind bending hacks :) >>> Thanks. >>> >>> On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com>wrote: >>> >>>> Hi Bo >>>> >>>> Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) >>>> for decode h264. >>>> >>>> best regards, Dima >>>> >>>> >>>> On 04.12.2010, at 16:41, bo shi wrote: >>>> >>>> > Hi Dima, >>>> > I learned that the iPhone sdk does not publish the H.264 codec API, >>>> > so developer can not use hardware decoder to decode raw H.264 stream >>>> > directly, how can you do that? You decode video in soft way? >>>> > >>>> > Thanks in advance! >>>> > Bo >>>> > >>>> > >>>> > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> >>>> wrote: >>>> >> Hello Rob >>>> >> We have implemented video call with PjSip 1.8.5 on iPhone. >>>> >> Best regards, Dima. >>>> >> >>>> >> >>>> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >>>> >> I also noticed that your roadmap says it will initially be for >>>> windows. My requirement is for iphone. I guess my question is not really a >>>> PJSIP question, but rather to developers who may have used PJ to make video >>>> work on iPhone - just wanted to check if it is doable or impossible today >>>> due to some iphone restriction :) >>>> >> >>>> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> >>>> wrote: >>>> >> >>>> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this >>>> project, I cannot wait for that update, so I plan to do it myself. Since you >>>> may be ahead of me, I was curious if there are any restrictions in the >>>> iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work >>>> with video. For example, it looks like I cannot use the Movie Player class >>>> as it expects a URL.For this to work, we will need frame/frame >>>> encode/decode and display support on the iPhone. >>>> >> >>>> >> >>>> >> thanks! >>>> >> >>>> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> >>>> wrote: >>>> >> >>>> >> Hi, FYI we are also working on video and it is planned for the >>>> >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >>>> >> >>>> >> Best regards, >>>> >> Benny >>>> >> >>>> >> >>>> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> >>>> wrote: >>>> >>> Hi, I have started on an activity to get a basic Video call working >>>> on >>>> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has >>>> anyone >>>> >>> written a video client with PJSIP specifically for the iphone? Are >>>> there any >>>> >>> road blocks? ( I know PJSIP doesnt support video for now, but I plan >>>> to >>>> >>> extend it - my question is more in the iPhone side). Prelim. >>>> analysis shows >>>> >>> I can pass H.264 streams to the iphone media player framework and it >>>> can >>>> >>> instantiate the appropriate player. My approximate plan is to send >>>> audio + >>>> >>> video data using PJSIP, then extend PJSIP to support video decoding >>>> and pass >>>> >>> the decoded H264 buffer to the media framework of iphone. >>>> >>> >>>> >>> >>>> >>> _______________________________________________ >>>> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>>> >>> >>>> >>> pjsip mailing list >>>> >>> pjsip@lists.pjsip.org >>>> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>> >>>> >>> >>>> >> >>>> >> _______________________________________________ >>>> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>>> >> >>>> >> pjsip mailing list >>>> >> pjsip@lists.pjsip.org >>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >> >>>> >> >>>> >> >>>> >> _______________________________________________ >>>> >> Visit our blog: http://blog.pjsip.org >>>> >> >>>> >> pjsip mailing list >>>> >> pjsip@lists.pjsip.org >>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >> >>>> >> >>>> > >>>> > _______________________________________________ >>>> > Visit our blog: http://blog.pjsip.org >>>> > >>>> > pjsip mailing list >>>> > pjsip@lists.pjsip.org >>>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>>> >>>> _______________________________________________ >>>> Visit our blog: http://blog.pjsip.org >>>> >>>> pjsip mailing list >>>> pjsip@lists.pjsip.org >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >
BS
bo shi
Mon, Dec 6, 2010 3:05 AM

Hi all,
x264 provide decode function?
videolan.org page introdcuce "x264 - a free h264/avc encoder" ....

BRs,
bo

On Mon, Dec 6, 2010 at 10:54 AM, Rob Wilkes wilkrob@gmail.com wrote:

Never mind - got it sorted out. Thanks!

On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes wilkrob@gmail.com wrote:

Dzmitry, I now have an iphone build for x264. Just as a quick
clarification, I only need libx264.a - I can discard the ffmpeg and xvid
libraries, right? Did you find any easy tutorial on how to use x264
libraries? As my first test, I am planning to write a small iphone program
that just picks up some encoded frames in H264 and I want to pass it to x264
to decode as raw so I can construct and display an UIImage. Once I have
that, I will integrate with PJ. X264 is completely new to me.
thx

On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski grizlik@gmail.com
wrote:

You could check it. Try to load array of images and renew UIImageView
with images from array for different FPS. You could also try to play with
image size and UIImageView size (fit image to screen for different
orientation mode).
On 05.12.2010, at 15:39, Rob Wilkes wrote:

Now this is very interesting, Dzmitry. I thought I have to fiddle with
iOS core media framework.
So you are suggesting that I construct a UIImage from the raw decoded
H.264 buffer and pass it to UIImageView for each frame? I thought this would
be very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.com
wrote:

Hi Rob
You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.
Best regards, Dima
On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible
without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski grizlik@gmail.com
wrote:

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html)
for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
  I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com
wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for
windows. My requirement is for iphone. I guess my question is not really a
PJSIP question, but rather to developers who may have used PJ to make video
work on iPhone - just wanted to check if it is doable or impossible today
due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com
wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this
project, I cannot wait for that update, so I plan to do it myself. Since you
may be ahead of me, I was curious if there are any restrictions in the
iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work
with video. For example, it looks like I cannot use the Movie Player class
as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com
wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
 Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com
wrote:

Hi, I have started on an activity to get a basic Video call working
on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has
anyone
written a video client with PJSIP specifically for the iphone? Are
there any
road blocks? ( I know PJSIP doesnt support video for now, but I
plan to
extend it - my question is more in the iPhone side). Prelim.
analysis shows
I can pass H.264 streams to the iphone media player framework and
it can
instantiate the appropriate player. My approximate plan is to send
audio +
video data using PJSIP, then extend PJSIP to support video decoding
and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org http://blog.pjsip.org/

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi all, x264 provide decode function? videolan.org page introdcuce "x264 - a free h264/avc encoder" .... BRs, bo On Mon, Dec 6, 2010 at 10:54 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > Never mind - got it sorted out. Thanks! > > On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes <wilkrob@gmail.com> wrote: >> >> Dzmitry, I now have an iphone build for x264. Just as a quick >> clarification, I only need libx264.a - I can discard the ffmpeg and xvid >> libraries, right? Did you find any easy tutorial on how to use x264 >> libraries? As my first test, I am planning to write a small iphone program >> that just picks up some encoded frames in H264 and I want to pass it to x264 >> to decode as raw so I can construct and display an UIImage. Once I have >> that, I will integrate with PJ. X264 is completely new to me. >> thx >> >> On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski <grizlik@gmail.com> >> wrote: >>> >>> You could check it. Try to load array of images and renew UIImageView >>> with images from array for different FPS. You could also try to play with >>> image size and UIImageView size (fit image to screen for different >>> orientation mode). >>> On 05.12.2010, at 15:39, Rob Wilkes wrote: >>> >>> Now this is very interesting, Dzmitry. I thought I have to fiddle with >>> iOS core media framework. >>> So you are suggesting that I construct a UIImage from the raw decoded >>> H.264 buffer and pass it to UIImageView for each frame? I thought this would >>> be very slow, but I guess you've done it! >>> >>> On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com> >>> wrote: >>>> >>>> Hi Rob >>>> You should add Video media to PjSip. >>>> Use UIImageView for displaying frames after decoding. >>>> Best regards, Dima >>>> On 05.12.2010, at 13:55, Rob Wilkes wrote: >>>> >>>> Super! That's all  I need to know - that it is practically possible >>>> without mind bending hacks :) >>>> Thanks. >>>> >>>> On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com> >>>> wrote: >>>>> >>>>> Hi Bo >>>>> >>>>> Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) >>>>> for decode h264. >>>>> >>>>> best regards, Dima >>>>> >>>>> >>>>> On 04.12.2010, at 16:41, bo shi wrote: >>>>> >>>>> > Hi Dima, >>>>> >   I learned that the iPhone sdk does not publish the H.264 codec API, >>>>> > so developer can not use hardware decoder to decode raw H.264 stream >>>>> > directly, how can you do that? You decode video in soft way? >>>>> > >>>>> > Thanks in advance! >>>>> > Bo >>>>> > >>>>> > >>>>> > On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> >>>>> > wrote: >>>>> >> Hello Rob >>>>> >> We have implemented video call with PjSip 1.8.5 on iPhone. >>>>> >> Best regards, Dima. >>>>> >> >>>>> >> >>>>> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >>>>> >> I also noticed that your roadmap says it will initially be for >>>>> >> windows. My requirement is for iphone. I guess my question is not really a >>>>> >> PJSIP question, but rather to developers who may have used PJ to make video >>>>> >> work on iPhone - just wanted to check if it is doable or impossible today >>>>> >> due to some iphone restriction :) >>>>> >> >>>>> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> >>>>> >> wrote: >>>>> >> >>>>> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for this >>>>> >> project, I cannot wait for that update, so I plan to do it myself. Since you >>>>> >> may be ahead of me, I was curious if there are any restrictions in the >>>>> >> iPhone APIs itself that will inhibit PJSIP (or any other stack) to not work >>>>> >> with video. For example, it looks like I cannot use the Movie Player class >>>>> >> as it expects a URL.For  this to work, we will need frame/frame >>>>> >> encode/decode and display support on the iPhone. >>>>> >> >>>>> >> >>>>> >> thanks! >>>>> >> >>>>> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> >>>>> >> wrote: >>>>> >> >>>>> >> Hi, FYI we are also working on video and it is planned for the >>>>> >> upcoming 2.0 release. Have a look at our roadmap in the trac site. >>>>> >> >>>>> >> Best regards, >>>>> >>  Benny >>>>> >> >>>>> >> >>>>> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> >>>>> >> wrote: >>>>> >>> Hi, I have started on an activity to get a basic Video call working >>>>> >>> on >>>>> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has >>>>> >>> anyone >>>>> >>> written a video client with PJSIP specifically for the iphone? Are >>>>> >>> there any >>>>> >>> road blocks? ( I know PJSIP doesnt support video for now, but I >>>>> >>> plan to >>>>> >>> extend it - my question is more in the iPhone side). Prelim. >>>>> >>> analysis shows >>>>> >>> I can pass H.264 streams to the iphone media player framework and >>>>> >>> it can >>>>> >>> instantiate the appropriate player. My approximate plan is to send >>>>> >>> audio + >>>>> >>> video data using PJSIP, then extend PJSIP to support video decoding >>>>> >>> and pass >>>>> >>> the decoded H264 buffer to the media framework of iphone. >>>>> >>> >>>>> >>> >>>>> >>> _______________________________________________ >>>>> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>>>> >>> >>>>> >>> pjsip mailing list >>>>> >>> pjsip@lists.pjsip.org >>>>> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>>> >>> >>>>> >>> >>>>> >> >>>>> >> _______________________________________________ >>>>> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>>>> >> >>>>> >> pjsip mailing list >>>>> >> pjsip@lists.pjsip.org >>>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>>> >> >>>>> >> >>>>> >> >>>>> >> _______________________________________________ >>>>> >> Visit our blog: http://blog.pjsip.org >>>>> >> >>>>> >> pjsip mailing list >>>>> >> pjsip@lists.pjsip.org >>>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>>> >> >>>>> >> >>>>> > >>>>> > _______________________________________________ >>>>> > Visit our blog: http://blog.pjsip.org >>>>> > >>>>> > pjsip mailing list >>>>> > pjsip@lists.pjsip.org >>>>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>>> >>>>> >>>>> _______________________________________________ >>>>> Visit our blog: http://blog.pjsip.org >>>>> >>>>> pjsip mailing list >>>>> pjsip@lists.pjsip.org >>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>>> _______________________________________________ >>>> Visit our blog: http://blog.pjsip.org >>>> >>>> pjsip mailing list >>>> pjsip@lists.pjsip.org >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>>> >>>> _______________________________________________ >>>> Visit our blog: http://blog.pjsip.org >>>> >>>> pjsip mailing list >>>> pjsip@lists.pjsip.org >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
JB
Jeff Brower
Mon, Dec 6, 2010 7:58 AM

Dzmitry-

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html)
for decode h264.

This is using the ARM core?  I would think that using the ARM core instead of the media (DSP) core would overload the
ARM and cut battery life.  Maybe decode is more feasible, but encode is CPU intensive.

-Jeff

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec API,
so developer can not use hardware decoder to decode raw H.264 stream
directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski grizlik@gmail.com wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my
question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone

  • just wanted to check if it is doable or impossible today due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I
plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs
itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use
the Movie Player class as it expects a URL.For  this to work, we will need frame/frame encode/decode and display
support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono bennylp@teluu.com wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com wrote:

Hi, I have started on an activity to get a basic Video call working on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone
written a video client with PJSIP specifically for the iphone? Are there any
road blocks? ( I know PJSIP doesnt support video for now, but I plan to
extend it - my question is more in the iPhone side). Prelim. analysis shows
I can pass H.264 streams to the iphone media player framework and it can
instantiate the appropriate player. My approximate plan is to send audio +
video data using PJSIP, then extend PJSIP to support video decoding and pass
the decoded H264 buffer to the media framework of iphone.


Visit our blog: http://blog.pjsip.org http://blog.pjsip.org/

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Dzmitry- > Yes, we use x264 ( from http://www.videolan.org/developers/x264.html) > for decode h264. This is using the ARM core? I would think that using the ARM core instead of the media (DSP) core would overload the ARM and cut battery life. Maybe decode is more feasible, but encode is CPU intensive. -Jeff > On 04.12.2010, at 16:41, bo shi wrote: > >> Hi Dima, >> I learned that the iPhone sdk does not publish the H.264 codec API, >> so developer can not use hardware decoder to decode raw H.264 stream >> directly, how can you do that? You decode video in soft way? >> >> Thanks in advance! >> Bo >> >> >> On Saturday, December 4, 2010, Dzmitry Yablonski <grizlik@gmail.com> wrote: >>> Hello Rob >>> We have implemented video call with PjSip 1.8.5 on iPhone. >>> Best regards, Dima. >>> >>> >>> On 04.12.2010, at 15:26, Rob Wilkes wrote: >>> I also noticed that your roadmap says it will initially be for windows. My requirement is for iphone. I guess my >>> question is not really a PJSIP question, but rather to developers who may have used PJ to make video work on iPhone >>> - just wanted to check if it is doable or impossible today due to some iphone restriction :) >>> >>> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >>> >>> Hi Benny, Yes, I know PJSIP also plans to support it - but for this project, I cannot wait for that update, so I >>> plan to do it myself. Since you may be ahead of me, I was curious if there are any restrictions in the iPhone APIs >>> itself that will inhibit PJSIP (or any other stack) to not work with video. For example, it looks like I cannot use >>> the Movie Player class as it expects a URL.For this to work, we will need frame/frame encode/decode and display >>> support on the iPhone. >>> >>> >>> thanks! >>> >>> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com> wrote: >>> >>> Hi, FYI we are also working on video and it is planned for the >>> upcoming 2.0 release. Have a look at our roadmap in the trac site. >>> >>> Best regards, >>> Benny >>> >>> >>> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >>>> Hi, I have started on an activity to get a basic Video call working on >>>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has anyone >>>> written a video client with PJSIP specifically for the iphone? Are there any >>>> road blocks? ( I know PJSIP doesnt support video for now, but I plan to >>>> extend it - my question is more in the iPhone side). Prelim. analysis shows >>>> I can pass H.264 streams to the iphone media player framework and it can >>>> instantiate the appropriate player. My approximate plan is to send audio + >>>> video data using PJSIP, then extend PJSIP to support video decoding and pass >>>> the decoded H264 buffer to the media framework of iphone. >>>> >>>> >>>> _______________________________________________ >>>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>>> >>>> pjsip mailing list >>>> pjsip@lists.pjsip.org >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
RW
Rob Wilkes
Mon, Dec 6, 2010 2:36 PM

Yes,
once you have libx264.a built, you need to add it to your project and
#include "x264.h". It provides you with

x264_encoder_encode

x264_encoder_decode

APIs. But documentation seems very hard to find.....

On Sun, Dec 5, 2010 at 10:05 PM, bo shi cnshibo@gmail.com wrote:

Hi all,
x264 provide decode function?
videolan.org page introdcuce "x264 - a free h264/avc encoder" ....

BRs,
bo

On Mon, Dec 6, 2010 at 10:54 AM, Rob Wilkes wilkrob@gmail.com wrote:

Never mind - got it sorted out. Thanks!

On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes wilkrob@gmail.com wrote:

Dzmitry, I now have an iphone build for x264. Just as a quick
clarification, I only need libx264.a - I can discard the ffmpeg and xvid
libraries, right? Did you find any easy tutorial on how to use x264
libraries? As my first test, I am planning to write a small iphone

program

that just picks up some encoded frames in H264 and I want to pass it to

x264

to decode as raw so I can construct and display an UIImage. Once I have
that, I will integrate with PJ. X264 is completely new to me.
thx

On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski grizlik@gmail.com
wrote:

You could check it. Try to load array of images and renew UIImageView
with images from array for different FPS. You could also try to play

with

image size and UIImageView size (fit image to screen for different
orientation mode).
On 05.12.2010, at 15:39, Rob Wilkes wrote:

Now this is very interesting, Dzmitry. I thought I have to fiddle with
iOS core media framework.
So you are suggesting that I construct a UIImage from the raw decoded
H.264 buffer and pass it to UIImageView for each frame? I thought this

would

be very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.com
wrote:

Hi Rob
You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.
Best regards, Dima
On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible
without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com

wrote:

Hi Bo

Yes, we use x264 ( from http://www.videolan.org/developers/x264.html

)

for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec

API,

so developer can not use hardware decoder to decode raw H.264

stream

directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski <

wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for
windows. My requirement is for iphone. I guess my question is not

really a

PJSIP question, but rather to developers who may have used PJ to

make video

work on iPhone - just wanted to check if it is doable or

impossible today

due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com
wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for

this

project, I cannot wait for that update, so I plan to do it myself.

Since you

may be ahead of me, I was curious if there are any restrictions in

the

iPhone APIs itself that will inhibit PJSIP (or any other stack) to

not work

with video. For example, it looks like I cannot use the Movie

Player class

as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com

wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com
wrote:

Hi, I have started on an activity to get a basic Video call

working

on
iPhone. It needs be be over RTP, preferably with H.264 codec. Has
anyone
written a video client with PJSIP specifically for the iphone?

Are

there any
road blocks? ( I know PJSIP doesnt support video for now, but I
plan to
extend it - my question is more in the iPhone side). Prelim.
analysis shows
I can pass H.264 streams to the iphone media player framework and
it can
instantiate the appropriate player. My approximate plan is to

send

audio +
video data using PJSIP, then extend PJSIP to support video

decoding

Yes, once you have libx264.a built, you need to add it to your project and #include "x264.h". It provides you with x264_encoder_encode x264_encoder_decode APIs. But documentation seems very hard to find..... On Sun, Dec 5, 2010 at 10:05 PM, bo shi <cnshibo@gmail.com> wrote: > Hi all, > x264 provide decode function? > videolan.org page introdcuce "x264 - a free h264/avc encoder" .... > > BRs, > bo > > > On Mon, Dec 6, 2010 at 10:54 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > > Never mind - got it sorted out. Thanks! > > > > On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes <wilkrob@gmail.com> wrote: > >> > >> Dzmitry, I now have an iphone build for x264. Just as a quick > >> clarification, I only need libx264.a - I can discard the ffmpeg and xvid > >> libraries, right? Did you find any easy tutorial on how to use x264 > >> libraries? As my first test, I am planning to write a small iphone > program > >> that just picks up some encoded frames in H264 and I want to pass it to > x264 > >> to decode as raw so I can construct and display an UIImage. Once I have > >> that, I will integrate with PJ. X264 is completely new to me. > >> thx > >> > >> On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski <grizlik@gmail.com> > >> wrote: > >>> > >>> You could check it. Try to load array of images and renew UIImageView > >>> with images from array for different FPS. You could also try to play > with > >>> image size and UIImageView size (fit image to screen for different > >>> orientation mode). > >>> On 05.12.2010, at 15:39, Rob Wilkes wrote: > >>> > >>> Now this is very interesting, Dzmitry. I thought I have to fiddle with > >>> iOS core media framework. > >>> So you are suggesting that I construct a UIImage from the raw decoded > >>> H.264 buffer and pass it to UIImageView for each frame? I thought this > would > >>> be very slow, but I guess you've done it! > >>> > >>> On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com> > >>> wrote: > >>>> > >>>> Hi Rob > >>>> You should add Video media to PjSip. > >>>> Use UIImageView for displaying frames after decoding. > >>>> Best regards, Dima > >>>> On 05.12.2010, at 13:55, Rob Wilkes wrote: > >>>> > >>>> Super! That's all I need to know - that it is practically possible > >>>> without mind bending hacks :) > >>>> Thanks. > >>>> > >>>> On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <grizlik@gmail.com > > > >>>> wrote: > >>>>> > >>>>> Hi Bo > >>>>> > >>>>> Yes, we use x264 ( from http://www.videolan.org/developers/x264.html > ) > >>>>> for decode h264. > >>>>> > >>>>> best regards, Dima > >>>>> > >>>>> > >>>>> On 04.12.2010, at 16:41, bo shi wrote: > >>>>> > >>>>> > Hi Dima, > >>>>> > I learned that the iPhone sdk does not publish the H.264 codec > API, > >>>>> > so developer can not use hardware decoder to decode raw H.264 > stream > >>>>> > directly, how can you do that? You decode video in soft way? > >>>>> > > >>>>> > Thanks in advance! > >>>>> > Bo > >>>>> > > >>>>> > > >>>>> > On Saturday, December 4, 2010, Dzmitry Yablonski < > grizlik@gmail.com> > >>>>> > wrote: > >>>>> >> Hello Rob > >>>>> >> We have implemented video call with PjSip 1.8.5 on iPhone. > >>>>> >> Best regards, Dima. > >>>>> >> > >>>>> >> > >>>>> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: > >>>>> >> I also noticed that your roadmap says it will initially be for > >>>>> >> windows. My requirement is for iphone. I guess my question is not > really a > >>>>> >> PJSIP question, but rather to developers who may have used PJ to > make video > >>>>> >> work on iPhone - just wanted to check if it is doable or > impossible today > >>>>> >> due to some iphone restriction :) > >>>>> >> > >>>>> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> > >>>>> >> wrote: > >>>>> >> > >>>>> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for > this > >>>>> >> project, I cannot wait for that update, so I plan to do it myself. > Since you > >>>>> >> may be ahead of me, I was curious if there are any restrictions in > the > >>>>> >> iPhone APIs itself that will inhibit PJSIP (or any other stack) to > not work > >>>>> >> with video. For example, it looks like I cannot use the Movie > Player class > >>>>> >> as it expects a URL.For this to work, we will need frame/frame > >>>>> >> encode/decode and display support on the iPhone. > >>>>> >> > >>>>> >> > >>>>> >> thanks! > >>>>> >> > >>>>> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <bennylp@teluu.com > > > >>>>> >> wrote: > >>>>> >> > >>>>> >> Hi, FYI we are also working on video and it is planned for the > >>>>> >> upcoming 2.0 release. Have a look at our roadmap in the trac site. > >>>>> >> > >>>>> >> Best regards, > >>>>> >> Benny > >>>>> >> > >>>>> >> > >>>>> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> > >>>>> >> wrote: > >>>>> >>> Hi, I have started on an activity to get a basic Video call > working > >>>>> >>> on > >>>>> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. Has > >>>>> >>> anyone > >>>>> >>> written a video client with PJSIP specifically for the iphone? > Are > >>>>> >>> there any > >>>>> >>> road blocks? ( I know PJSIP doesnt support video for now, but I > >>>>> >>> plan to > >>>>> >>> extend it - my question is more in the iPhone side). Prelim. > >>>>> >>> analysis shows > >>>>> >>> I can pass H.264 streams to the iphone media player framework and > >>>>> >>> it can > >>>>> >>> instantiate the appropriate player. My approximate plan is to > send > >>>>> >>> audio + > >>>>> >>> video data using PJSIP, then extend PJSIP to support video > decoding > >>>>> >>> and pass > >>>>> >>> the decoded H264 buffer to the media framework of iphone. > >>>>> >>> > >>>>> >>> > >>>>> >>> _______________________________________________ > >>>>> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> > >>>>> >>> > >>>>> >>> pjsip mailing list > >>>>> >>> pjsip@lists.pjsip.org > >>>>> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>>> >>> > >>>>> >>> > >>>>> >> > >>>>> >> _______________________________________________ > >>>>> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> > >>>>> >> > >>>>> >> pjsip mailing list > >>>>> >> pjsip@lists.pjsip.org > >>>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> _______________________________________________ > >>>>> >> Visit our blog: http://blog.pjsip.org > >>>>> >> > >>>>> >> pjsip mailing list > >>>>> >> pjsip@lists.pjsip.org > >>>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>>> >> > >>>>> >> > >>>>> > > >>>>> > _______________________________________________ > >>>>> > Visit our blog: http://blog.pjsip.org > >>>>> > > >>>>> > pjsip mailing list > >>>>> > pjsip@lists.pjsip.org > >>>>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> Visit our blog: http://blog.pjsip.org > >>>>> > >>>>> pjsip mailing list > >>>>> pjsip@lists.pjsip.org > >>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>> > >>>> _______________________________________________ > >>>> Visit our blog: http://blog.pjsip.org > >>>> > >>>> pjsip mailing list > >>>> pjsip@lists.pjsip.org > >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>> > >>>> > >>>> _______________________________________________ > >>>> Visit our blog: http://blog.pjsip.org > >>>> > >>>> pjsip mailing list > >>>> pjsip@lists.pjsip.org > >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>> > >>> > >>> _______________________________________________ > >>> Visit our blog: http://blog.pjsip.org > >>> > >>> pjsip mailing list > >>> pjsip@lists.pjsip.org > >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>> > >>> > >>> _______________________________________________ > >>> Visit our blog: http://blog.pjsip.org > >>> > >>> pjsip mailing list > >>> pjsip@lists.pjsip.org > >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>> > >> > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
RW
Rob Wilkes
Mon, Dec 6, 2010 2:49 PM

Sorry, wrong statement below. I downloaded the H264 decoder from here:
http://sourceforge.net/projects/p264decoder/ and created a wrapper in x264.h
for it  to make it look uniformed. It is not included as part of x264 it
seems...

Again, I have just reached a state where I can compile all of this stuff.
Haven't actually dont the real check to see if it works. Maybe Dzmitry can
throw insights.

On Mon, Dec 6, 2010 at 9:36 AM, Rob Wilkes wilkrob@gmail.com wrote:

Yes,
once you have libx264.a built, you need to add it to your project and
#include "x264.h". It provides you with

x264_encoder_encode

x264_encoder_decode

APIs. But documentation seems very hard to find.....

On Sun, Dec 5, 2010 at 10:05 PM, bo shi cnshibo@gmail.com wrote:

Hi all,
x264 provide decode function?
videolan.org page introdcuce "x264 - a free h264/avc encoder" ....

BRs,
bo

On Mon, Dec 6, 2010 at 10:54 AM, Rob Wilkes wilkrob@gmail.com wrote:

Never mind - got it sorted out. Thanks!

On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes wilkrob@gmail.com wrote:

Dzmitry, I now have an iphone build for x264. Just as a quick
clarification, I only need libx264.a - I can discard the ffmpeg and

xvid

libraries, right? Did you find any easy tutorial on how to use x264
libraries? As my first test, I am planning to write a small iphone

program

that just picks up some encoded frames in H264 and I want to pass it to

x264

to decode as raw so I can construct and display an UIImage. Once I have
that, I will integrate with PJ. X264 is completely new to me.
thx

On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski grizlik@gmail.com
wrote:

You could check it. Try to load array of images and renew UIImageView
with images from array for different FPS. You could also try to play

with

image size and UIImageView size (fit image to screen for different
orientation mode).
On 05.12.2010, at 15:39, Rob Wilkes wrote:

Now this is very interesting, Dzmitry. I thought I have to fiddle with
iOS core media framework.
So you are suggesting that I construct a UIImage from the raw decoded
H.264 buffer and pass it to UIImageView for each frame? I thought this

would

be very slow, but I guess you've done it!

On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski grizlik@gmail.com
wrote:

Hi Rob
You should add Video media to PjSip.
Use UIImageView for displaying frames after decoding.
Best regards, Dima
On 05.12.2010, at 13:55, Rob Wilkes wrote:

Super! That's all  I need to know - that it is practically possible
without mind bending hacks :)
Thanks.

On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski <

wrote:

Hi Bo

Yes, we use x264 ( from

for decode h264.

best regards, Dima

On 04.12.2010, at 16:41, bo shi wrote:

Hi Dima,
I learned that the iPhone sdk does not publish the H.264 codec

API,

so developer can not use hardware decoder to decode raw H.264

stream

directly, how can you do that? You decode video in soft way?

Thanks in advance!
Bo

On Saturday, December 4, 2010, Dzmitry Yablonski <

wrote:

Hello Rob
We have implemented video call with PjSip 1.8.5 on iPhone.
Best regards, Dima.

On 04.12.2010, at 15:26, Rob Wilkes wrote:
I also noticed that your roadmap says it will initially be for
windows. My requirement is for iphone. I guess my question is not

really a

PJSIP question, but rather to developers who may have used PJ to

make video

work on iPhone - just wanted to check if it is doable or

impossible today

due to some iphone restriction :)

On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes wilkrob@gmail.com
wrote:

Hi Benny, Yes, I know PJSIP also plans to support it - but for

this

project, I cannot wait for that update, so I plan to do it

myself. Since you

may be ahead of me, I was curious if there are any restrictions

in the

iPhone APIs itself that will inhibit PJSIP (or any other stack)

to not work

with video. For example, it looks like I cannot use the Movie

Player class

as it expects a URL.For  this to work, we will need frame/frame
encode/decode and display support on the iPhone.

thanks!

On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono <

wrote:

Hi, FYI we are also working on video and it is planned for the
upcoming 2.0 release. Have a look at our roadmap in the trac

site.

Best regards,
Benny

On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes wilkrob@gmail.com
wrote:

Hi, I have started on an activity to get a basic Video call

working

on
iPhone. It needs be be over RTP, preferably with H.264 codec.

Has

anyone
written a video client with PJSIP specifically for the iphone?

Are

there any
road blocks? ( I know PJSIP doesnt support video for now, but I
plan to
extend it - my question is more in the iPhone side). Prelim.
analysis shows
I can pass H.264 streams to the iphone media player framework

and

it can
instantiate the appropriate player. My approximate plan is to

send

audio +
video data using PJSIP, then extend PJSIP to support video

decoding

Sorry, wrong statement below. I downloaded the H264 decoder from here: http://sourceforge.net/projects/p264decoder/ and created a wrapper in x264.h for it to make it look uniformed. It is not included as part of x264 it seems... Again, I have just reached a state where I can compile all of this stuff. Haven't actually dont the real check to see if it works. Maybe Dzmitry can throw insights. On Mon, Dec 6, 2010 at 9:36 AM, Rob Wilkes <wilkrob@gmail.com> wrote: > Yes, > once you have libx264.a built, you need to add it to your project and > #include "x264.h". It provides you with > > x264_encoder_encode > > x264_encoder_decode > > APIs. But documentation seems very hard to find..... > > > On Sun, Dec 5, 2010 at 10:05 PM, bo shi <cnshibo@gmail.com> wrote: > >> Hi all, >> x264 provide decode function? >> videolan.org page introdcuce "x264 - a free h264/avc encoder" .... >> >> BRs, >> bo >> >> >> On Mon, Dec 6, 2010 at 10:54 AM, Rob Wilkes <wilkrob@gmail.com> wrote: >> > Never mind - got it sorted out. Thanks! >> > >> > On Sun, Dec 5, 2010 at 9:36 PM, Rob Wilkes <wilkrob@gmail.com> wrote: >> >> >> >> Dzmitry, I now have an iphone build for x264. Just as a quick >> >> clarification, I only need libx264.a - I can discard the ffmpeg and >> xvid >> >> libraries, right? Did you find any easy tutorial on how to use x264 >> >> libraries? As my first test, I am planning to write a small iphone >> program >> >> that just picks up some encoded frames in H264 and I want to pass it to >> x264 >> >> to decode as raw so I can construct and display an UIImage. Once I have >> >> that, I will integrate with PJ. X264 is completely new to me. >> >> thx >> >> >> >> On Sun, Dec 5, 2010 at 10:01 AM, Dzmitry Yablonski <grizlik@gmail.com> >> >> wrote: >> >>> >> >>> You could check it. Try to load array of images and renew UIImageView >> >>> with images from array for different FPS. You could also try to play >> with >> >>> image size and UIImageView size (fit image to screen for different >> >>> orientation mode). >> >>> On 05.12.2010, at 15:39, Rob Wilkes wrote: >> >>> >> >>> Now this is very interesting, Dzmitry. I thought I have to fiddle with >> >>> iOS core media framework. >> >>> So you are suggesting that I construct a UIImage from the raw decoded >> >>> H.264 buffer and pass it to UIImageView for each frame? I thought this >> would >> >>> be very slow, but I guess you've done it! >> >>> >> >>> On Sun, Dec 5, 2010 at 8:40 AM, Dzmitry Yablonski <grizlik@gmail.com> >> >>> wrote: >> >>>> >> >>>> Hi Rob >> >>>> You should add Video media to PjSip. >> >>>> Use UIImageView for displaying frames after decoding. >> >>>> Best regards, Dima >> >>>> On 05.12.2010, at 13:55, Rob Wilkes wrote: >> >>>> >> >>>> Super! That's all I need to know - that it is practically possible >> >>>> without mind bending hacks :) >> >>>> Thanks. >> >>>> >> >>>> On Sat, Dec 4, 2010 at 11:55 AM, Dzmitry Yablonski < >> grizlik@gmail.com> >> >>>> wrote: >> >>>>> >> >>>>> Hi Bo >> >>>>> >> >>>>> Yes, we use x264 ( from >> http://www.videolan.org/developers/x264.html) >> >>>>> for decode h264. >> >>>>> >> >>>>> best regards, Dima >> >>>>> >> >>>>> >> >>>>> On 04.12.2010, at 16:41, bo shi wrote: >> >>>>> >> >>>>> > Hi Dima, >> >>>>> > I learned that the iPhone sdk does not publish the H.264 codec >> API, >> >>>>> > so developer can not use hardware decoder to decode raw H.264 >> stream >> >>>>> > directly, how can you do that? You decode video in soft way? >> >>>>> > >> >>>>> > Thanks in advance! >> >>>>> > Bo >> >>>>> > >> >>>>> > >> >>>>> > On Saturday, December 4, 2010, Dzmitry Yablonski < >> grizlik@gmail.com> >> >>>>> > wrote: >> >>>>> >> Hello Rob >> >>>>> >> We have implemented video call with PjSip 1.8.5 on iPhone. >> >>>>> >> Best regards, Dima. >> >>>>> >> >> >>>>> >> >> >>>>> >> On 04.12.2010, at 15:26, Rob Wilkes wrote: >> >>>>> >> I also noticed that your roadmap says it will initially be for >> >>>>> >> windows. My requirement is for iphone. I guess my question is not >> really a >> >>>>> >> PJSIP question, but rather to developers who may have used PJ to >> make video >> >>>>> >> work on iPhone - just wanted to check if it is doable or >> impossible today >> >>>>> >> due to some iphone restriction :) >> >>>>> >> >> >>>>> >> On Sat, Dec 4, 2010 at 8:42 AM, Rob Wilkes <wilkrob@gmail.com> >> >>>>> >> wrote: >> >>>>> >> >> >>>>> >> Hi Benny, Yes, I know PJSIP also plans to support it - but for >> this >> >>>>> >> project, I cannot wait for that update, so I plan to do it >> myself. Since you >> >>>>> >> may be ahead of me, I was curious if there are any restrictions >> in the >> >>>>> >> iPhone APIs itself that will inhibit PJSIP (or any other stack) >> to not work >> >>>>> >> with video. For example, it looks like I cannot use the Movie >> Player class >> >>>>> >> as it expects a URL.For this to work, we will need frame/frame >> >>>>> >> encode/decode and display support on the iPhone. >> >>>>> >> >> >>>>> >> >> >>>>> >> thanks! >> >>>>> >> >> >>>>> >> On Fri, Dec 3, 2010 at 10:12 PM, Benny Prijono < >> bennylp@teluu.com> >> >>>>> >> wrote: >> >>>>> >> >> >>>>> >> Hi, FYI we are also working on video and it is planned for the >> >>>>> >> upcoming 2.0 release. Have a look at our roadmap in the trac >> site. >> >>>>> >> >> >>>>> >> Best regards, >> >>>>> >> Benny >> >>>>> >> >> >>>>> >> >> >>>>> >> On Sat, Dec 4, 2010 at 3:51 AM, Rob Wilkes <wilkrob@gmail.com> >> >>>>> >> wrote: >> >>>>> >>> Hi, I have started on an activity to get a basic Video call >> working >> >>>>> >>> on >> >>>>> >>> iPhone. It needs be be over RTP, preferably with H.264 codec. >> Has >> >>>>> >>> anyone >> >>>>> >>> written a video client with PJSIP specifically for the iphone? >> Are >> >>>>> >>> there any >> >>>>> >>> road blocks? ( I know PJSIP doesnt support video for now, but I >> >>>>> >>> plan to >> >>>>> >>> extend it - my question is more in the iPhone side). Prelim. >> >>>>> >>> analysis shows >> >>>>> >>> I can pass H.264 streams to the iphone media player framework >> and >> >>>>> >>> it can >> >>>>> >>> instantiate the appropriate player. My approximate plan is to >> send >> >>>>> >>> audio + >> >>>>> >>> video data using PJSIP, then extend PJSIP to support video >> decoding >> >>>>> >>> and pass >> >>>>> >>> the decoded H264 buffer to the media framework of iphone. >> >>>>> >>> >> >>>>> >>> >> >>>>> >>> _______________________________________________ >> >>>>> >>> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >>>>> >>> >> >>>>> >>> pjsip mailing list >> >>>>> >>> pjsip@lists.pjsip.org >> >>>>> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>>>> >>> >> >>>>> >>> >> >>>>> >> >> >>>>> >> _______________________________________________ >> >>>>> >> Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> >> >>>>> >> >> >>>>> >> pjsip mailing list >> >>>>> >> pjsip@lists.pjsip.org >> >>>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>>>> >> >> >>>>> >> >> >>>>> >> >> >>>>> >> _______________________________________________ >> >>>>> >> Visit our blog: http://blog.pjsip.org >> >>>>> >> >> >>>>> >> pjsip mailing list >> >>>>> >> pjsip@lists.pjsip.org >> >>>>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>>>> >> >> >>>>> >> >> >>>>> > >> >>>>> > _______________________________________________ >> >>>>> > Visit our blog: http://blog.pjsip.org >> >>>>> > >> >>>>> > pjsip mailing list >> >>>>> > pjsip@lists.pjsip.org >> >>>>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>>>> >> >>>>> >> >>>>> _______________________________________________ >> >>>>> Visit our blog: http://blog.pjsip.org >> >>>>> >> >>>>> pjsip mailing list >> >>>>> pjsip@lists.pjsip.org >> >>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>>> >> >>>> _______________________________________________ >> >>>> Visit our blog: http://blog.pjsip.org >> >>>> >> >>>> pjsip mailing list >> >>>> pjsip@lists.pjsip.org >> >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>>> >> >>>> >> >>>> _______________________________________________ >> >>>> Visit our blog: http://blog.pjsip.org >> >>>> >> >>>> pjsip mailing list >> >>>> pjsip@lists.pjsip.org >> >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>>> >> >>> >> >>> _______________________________________________ >> >>> Visit our blog: http://blog.pjsip.org >> >>> >> >>> pjsip mailing list >> >>> pjsip@lists.pjsip.org >> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>> >> >>> >> >>> _______________________________________________ >> >>> Visit our blog: http://blog.pjsip.org >> >>> >> >>> pjsip mailing list >> >>> pjsip@lists.pjsip.org >> >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >>> >> >> >> > >> > >> > _______________________________________________ >> > Visit our blog: http://blog.pjsip.org >> > >> > pjsip mailing list >> > pjsip@lists.pjsip.org >> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > >> > >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > >