ios - Usage of rtmp-dump/librtmp -


i using compiled version of rtmp-dump github in ios project. following code connect server.

rtmp = rtmp_alloc(); rtmp_init(rtmp); nsstring *url = @"rtmp://192.168.0.119:1935/red5/sw231/"; char *strurl = (char *)[url cstringusingencoding:nsasciistringencoding]; rtmp_setupurl(rtmp, strurl); rtmp_connect(rtmp, null); 

since proper documentation of rtmp-dump or lib-rtmp not available want know methods can use following functionalities.

  1. i want send array of values while connecting. query method of rtmp-dump can send values server when connecting?
  2. how can call methods of server , pass parameters server?
  3. how can receive response server? how can implement client-side method invocation through rtmp-dump?
  4. how can explicitly provide name of stream want play or listen after connecting?
  5. by using rtmp_close(), able disconnect connection?

i know post asked 12 months ago may usefull.

download this , see examples of usage of librtmp. don't know why library has no documentation following examples can bit.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

angularjs - ng-repeat duplicating items after page reload -