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.
- i want send array of values while connecting. query method of rtmp-dump can send values server when connecting?
- how can call methods of server , pass parameters server?
- how can receive response server? how can implement client-side method invocation through
rtmp-dump
? - how can explicitly provide name of stream want play or listen after connecting?
- 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
Post a Comment