简体   繁体   English

视频核心库可以使用RTMP将实时H264 / AAC iOS摄像机流发送到Wowza吗

[英]Can video core library send the live H264/AAC iOS Camera stream to Wowza using RTMP

嗨,我正在开发一个基于广播的应用程序,因为我正在使用视频核心库,我需要对视频H.264和音频AAC进行编码,然后只有Wowza服务器流式传输我的视频,但是我不知道任何人可以通过什么工具来帮助我请出去

Check out the sample project at video core it pretty much gives you step by step how to start a rtmp session. 在视频核心中查看示例项目,它几乎为您提供了逐步启动rtmp会话的步骤。

 //Create a session and add preview to ur Viewcontrollers Subview
_session = [[VCSimpleSession alloc] initWithVideoSize:self.view.frame.size frameRate:30 bitrate:32000 useInterfaceOrientation:YES];
    _session.orientationLocked = YES;
[self.view addSubview:_session.previewView];
_session.previewView.frame = self.view.bounds;
_session.delegate = self;


  // then when ur ready start a session
[_session startRtmpSessionWithURL:@"rtmp://RTMPURL/APPPATH" andStreamKey:@"STREAM_KEY"];

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM