How to connect wowza media server from ios device through http? - wowza

We are implementing an app in xcode for live streaming which uses the url http://[wowza address]:1935/application to connect the wowza server, but there is no connection established
What are the server side changes to be implemented in addition to the application.xml to connect the server?

When publishing via http, Wowza does not support that. You can see a list of supported codecs for inbound streams here.
You can publish using rtmp or rtsp from ios / mac app and you can have a look at a variety of projects that will do that. You can take a look at their GoCoder solution for comparison.

Related

libvncserver / libvncclient websocket support (to vSphere)?

I am trying to use libvnc to write client application for VMware ESXi 6 vm's consoles.
From ESXi 6 VMware provides websocket for this purpose. They are also released basic HTML5 client for this.
ESXi websocket VNC uses connection path to authorize.
When HTML5 client trying to connect it making request like this:
wss://esxi_host_ip/ticket/secret_token
From my research I know that this method also works with noVNC Client
(https://github.com/kanaka/noVNC)
This client passes "path" parameter to RFB implementation.
From libvnc website I know that it support websockets but I don't know if it is supported on client side and if the answer is YES, how can I do that ?
Finally the answer is NO but simple hack is possible.
Connection to websocket vnc server from libvnc is not directly possible.
As solution for my problem I used custom made tcp to websocket proxy where I firstly negotiating websocket connection and then connecting standard tcp vnc client.

Programming an RSTP server to send RTP to a 3rd party

I'm writing a server application in C++ that needs to talk to an RTSP server.
Clients will connect to my server application and my application will talk to the RTSP server telling it "Send RTP stream X from your port A to client port B on IP 1.2.3.4 using H.264 encoding".
I started to look for an RTSP tutorial, but most examples just involve a client requesting a URI like rtsp://example.com/media.mp4. I also looked at RFC 2326, but found it quite hard to digest.
Does anybody know a good RTSP tutorial or book ?
Maybe some sample code solving a similar problem or a C++ library that implements RTSP ?
Unless you have a private API i'm not aware of to control the RTSP server, you can't do what you are asking.
What you could do is ask the RTSP server to send to your server the specified stream and forward it to the client.
To comnunicate easily with an rtsp server, you can use gstreamer : http://gstreamer.freedesktop.org/

Keeping connection open in Django without websockets

I have a mini computer that does not support websockets that I would like to receive push notifications from a server.
The issue is that after the client connects to the server, the server responds and then closes the connection. This makes it so the client has to continually reconnect to the server to get new information.
Is there a way using Django to allow the connection to be left open and then have the server publish data to the client?
Django is primarily a request/response framework and as such does not have support for real duplex communication.
Socket.IO is the de facto library that makes websocket-like functionality cross-browser (IE5.5+), using real websockets as a transport if the browser allows it, falling back to HTTP long-polling or whatever else if it doesn't. For various options on integrating Socket.IO with Django, read this.

how to develop a lync client using uccp api

I want to develop a lync client using the UCCP API SDK.
When I make a video call from external network to internal network using the sample application (UCCAVSAMPLE) from the UCCP API SDK it is giving the
UCCMSSCR_MEDIA_CONNECTIVITY_FAILURE error. Any modifications we have to do for the application.call is established media is not flowing. I have changed the DLLs (uccpapi and rftm). It was using older version (version 2) now m using version 4.
Do you use the Lync client from the external network and trying to connect using the SIP protocol or you are trying to connect using another protocol like h.323

use of XMPP in flex code on UDP Protocol

I am working private network.This alread developped product which implemented using TCP(client server technology).
Existing product is as follows
There is a UI which is developed using flex, where user can see video or snapshot
There is a server which is developed using c++,which redirects request from UI to gateway.
There is gateway which is connected with the Camera,which stream video to UI through server.
Now we wanted to add p2p technology to existing client server.So it will support TCP as Well As UDP.
Presently we are exploring flex and XMPP to implement the p2p.
as newer version flex of flex support p2p using RTMFP, but thats the propriety protocol of adobe.if we use RTMFP we need to change all the existing code that we dont want
I wanted to implemented to p2p using flex client(UI) which will use XMPP to communicate with Gateway and Server.
So the question is
Is it possible to use XMPP from flex code
Will XMPP support UDP p2p or not.
Yes. You can use the as3xmpp library to communicate to servers using that protocol.
To my knowledge, no. My understanding is that the network protocol used in p2p connections is internalized, and doesn't allow for public APIs to define their own network protocol (unlike Sockets for example).