sunliner / miaowshow Goto Github PK
View Code? Open in Web Editor NEWiOS视频直播项目
Home Page: http://www.jianshu.com/users/9723687edfb5
License: MIT License
iOS视频直播项目
Home Page: http://www.jianshu.com/users/9723687edfb5
License: MIT License
点击导航条上的 [排行] 按钮, 滑动顶部排行栏,排行栏会滑动回主页的顶部栏;
// 如果自定义返回按钮后, 滑动返回可能失效, 需要添加下面的代码
__weak typeof(viewController)Weakself = viewController;
self.interactivePopGestureRecognizer.delegate = (id)Weakself;
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)
xcode版本:7.3.1
膜拜
/Users//Development/MiaowShow-master/MiaowShow/MiaowShow/Classes/Resource/PrefixHeader.pch:24:9: 'IJKMediaFramework/IJKMediaFramework.h' file not found
我在ShowTimeViewController.m. 的 (IBAction)living:(UIButton *)sender方法, 将里面的stream.url替换成我自己的rtmp地址,然后在真机里面进行直播,显示连接中,同时我开启模拟器使IJKFFMoviePlayerController 的URL指向我真机连接中的rtmp地址,测试结果发现:模拟器中无法显示
我真机的直播画面,
问题1: 请问这是怎么回事?
问题2: 如果直播真的上传到rtmp服务器(也就是本例中的nginx+rtmp),直播文件的存放路径在哪?
感谢回答!
想问下作者 公司做直播的成本问题,感觉成本很高的样子 1GB = 1块钱 那1万个人 每月10G ,那流量费一个月10W块啊?
我目前遇到了这样的情况:使用本地推流- ffmpeg -f avfoundation -framerate 30 -i "1:0" -f avfoundation -framerate 30 -video_size 640x480 -i "0" -c:v libx264 -preset slow -filter_complex 'overlay=main_w-overlay_w-10:main_h-overlay_h-10' -acodec libmp3lame -ar 44100 -ac 1 -f flv rtmp://192.168.1.101:1935/rtmplive/room 这样是可以进行推流,但是如果手机端使用LFLiveKit,URL:rtmp://192.168.1.101:1935/rtmplive/room时不行,总是连接不上!!!还有电脑进行推流后,模拟器可以实现直播(虽然延迟和卡顿),但是手机没有收到数据!!!!求助,求助,求助!!!help,help,help
Hi,
I'm daniulive, the github url with [https://github.com/daniulive/SmarterStreaming].
SmarterStreaming, which is an excellent cross-platform Live Streaming publisher/playback SDK, based on RTMP protocol, developed by daniulive.
Currently, it has already covered Windows/android/iOS platform with millisecond latency and great scalability.
We want to co-work with you for the APP layer encapsulation, if you're interested, please contact me directly via QQ 89030985.
Thanks.
ijkPlayer播放rtmp/hls的视频源,有没有觉得会在DNS解析那里耗时很久?有时候两三秒以上,请问是不是要做DNS预处理呢?播放一个域名地址:rtmp://live.hkstv.hk.lxdns.com/live/hks,如何能快速转换成ip地址形式呢。我试过用七牛的直播播放器,它会讲地址解释成:rtmp://183.6.246.214/live/hks?domain=live.hkstv.hk.lxdns.com,但是放到ijkPlayer里面播放确提示: Operation not permitted。不知道有没有人研究过这方面。
声音先出来,后面视频延迟
在点击主页面的轮播图时,进入下一个页面。navigationBar上有问题。
点击中间按钮崩溃:
libsystem_kernel.dylib`__abort_with_payload:
0x18488fd6c <+0>: mov x16, #0x209
0x18488fd70 <+4>: svc #0x80
-> 0x18488fd74 <+8>: b.lo 0x18488fd8c ; <+32>
0x18488fd78 <+12>: stp x29, x30, [sp, #-0x10]!
0x18488fd7c <+16>: mov x29, sp
0x18488fd80 <+20>: bl 0x18487486c ; cerror_nocancel
0x18488fd84 <+24>: mov sp, x29
0x18488fd88 <+28>: ldp x29, x30, [sp], #0x10
0x18488fd8c <+32>: ret
最近公司要做直播,但是我看苹果官方说不支持10分钟以上rtmp流媒体传输,只能用苹果自己的hls,但是我看网上有人说可以,而且可以上架appstore,自己又不太懂,所以想像请教下rtmp推流是否可以上架,谢谢
将视频推流到服务器后,拿到的地址在VLC中可以正常播放,但是为什么该地址放在Demo中播放只有声音没有画面?
您好!遇到一个问题,看你项目中直接pod 的LFLiveKit,但是我pod 的时候却提示
Unable to find a specification for LFLiveKit
,这是怎么回事啊
真机测试时,点击第二个tabbar界面,直接奔溃
/Users/hysm/Desktop/666/MiaowShow/MiaowShow/MiaowShow/Classes/Resource/PrefixHeader.pch:24:9: 'IJKMediaFramework/IJKMediaFramework.h' file not found
在执行./compile-ffmpeg.sh all
的时候报错如下:
sh: line 1: 56721 Illegal instruction: 4 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk '' -find make 2> /dev/null
make: error: unable to find utility "make", not a developer tool or in PATH
请大神指导一下,谢谢!
if (sender.selected) { // 开始直播
LFLiveStreamInfo *stream = [LFLiveStreamInfo new];
// 如果是跟我blog教程搭建的本地服务器, 记得填写你电脑的IP地址
stream.url = @"rtmp://192.168.1.102:1935/rtmplive/room";
self.rtmpUrl = stream.url;
[self.session startLive:stream];
LFHardwareAudioEncoder在第114行的,inputFormat调用崩溃(iOS10),对音频模块不熟悉,求解答!!!
请问这里对视频源处理应该在哪里,就是想在加水印,人脸覆盖之类的.在哪处理的,可以给个思路么.
状态已经显示已连接,还是推不上去,在另一端拉流接受没有反应,大神可以帮帮忙吗?
ERROR: PILI_RTMP_Connect0, failed to connect socket. 61 (Connection refused)
ERROR: WriteN, PILI_RTMP send error 9, Bad file descriptor, (140 bytes)
2016-08-05 18:16:37.71573047:3348249] IJKSDLGLView:applicationWillResignActive: 0
2016-08-05 18:16:40.684 [73047:3348249] IJKSDLGLView:applicationDidEnterBackground: 2
2016-08-05 18:16:52.209 [73047:3348249] IJKSDLGLView:applicationWillEnterForeground: 2
2016-08-05 18:16:53.160 [73047:3348249] IJKSDLGLView:applicationDidBecomeActive:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.