Joe-Palmer / rtmplite

Automatically exported from code.google.com/p/rtmplite
0 stars 0 forks source link

While label phone for siprtmp #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by <dimarco@hushmail.com>on Oct 7, 2010

Hello, and Congratulations for your nice little software SIP
videophone.

I would like to do some experiments with it and I need your help
for that as soon as possible.

1- I would like a plain version of the flash-to-Sip videophone page
without: (the text input form, without the buttons, without the
tool-tips, without the confirmation yellow bars in the bottom, just
a white background, no border, in other words, no visual elements
at all, but only a white plain square SWF object that I can fix the
size and the loggin infos in the html source myself). I ask you
because I don't want to break anything in the asc code if I edit it
myself for my experiments. send it in my email Please, I'm willing
to give you a donation for your help, and for future experiments
help also :-)

Best Regards

Marco

---
Hi Marco,

Not sure if we replied to you earlier or not. So am replying again.

Were you able to do this yourself?

You can edit View.mxml to remove various UI elements.
Then you can add code in VideoPhone.mxml::installJavaScriptAPI() to
add more API to control from JavaScript.

If you haven't done it already and if you find it difficult, I will
try to send you the new SWF. Let me know.

---
Hi Kundan,

I cannot do it, I was still waiting for your help, my experiment
need is that I will make it call a SIP number, that's it. so I
don't want
no graphics at all, and also I want it to be able to call just a SIP
number, without password or name remembering.

Can you do it for me please?

Best Regards

Marco

Original issue reported on code.google.com by voiprese...@gmail.com on 5 Feb 2011 at 4:10

GoogleCodeExporter commented 9 years ago
Hi Marco,

Once I started modifying VideoPhone, I realized that it is all about
the user interface, and the API part of it is very small. I already
have another  flash-videoio project which attempts at providing
generic flash based audio/video component with extensive Javascript
API and can be configured to appear without UI components. So I
decided to enhance flash-videoio so that SIP calling can be done from
HTML/Javascript itself. I added SIP calling from my flash-videoio
project, which can be made without UI, and can be controlled only via
JavaScript.

http://myprojectguide.org/p/flash-videoio/11.html

The idea is to call the siprtmp API from the the generic flash-videoio
application triggered via Javascript, and embed flash-videoio with
white background and without control panel.

This can allow you to control the SIP calling from flash-videoio's
VideoIO.swf instead of using rtmplite's VideoPhone.swf.

However, Flash Player has a built-in security dialog box which is
displayed when the microphone is grabbed. There is no way to disable
this UI component in a Flash application. Hence your flash-videoio
must be large enough (215x138 pixels) to display this security dialog
box to allow the end user to approve microphone access. Otherwise, the
Flash application cannot grab microphone audio without user's
approval.

At this point I am not hosting siprtmp.py (SIP gateway), so for making
SIP calls, you will need your own hosting of the gateway. For making
web-to-phonecalls you will need some SIP-PSTN gateway or VoIP
provider.

If you can send me your gateway parameters (where are you running
siprtmp.py, what is the IP address of your SIP-PSTN gateway/SIP proxy
server, etc.), then I can also create a simple HTML/Javascript page to
embed flash-videoio with preconfigured parameters.

Hope this will help in your project!
---
Hi Kundan :-)

Man I think you're a Genius, and I really mean it !!!
Also, thanks for the reply, and yes I like the Videoio
but I also love the Videophone because it's straightforward
to make a call, no flash app to approve our the way.

I will test them both, if you find the time to strip Videophone
also for me I will be very happy, and I will send you a donation.

For the url of the server, I experiment on a personal developer
server not plug on the net, so I guess it will be Localhost...

Also, I know you're very busy but always check your email because
I may have some work for you in the near future.

I'm waiting for your email. Thanks in advance !!!

Regards,

Marco

Original comment by voiprese...@gmail.com on 5 Feb 2011 at 4:11