Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对接阿里云的低延迟直播时的一些代码问题 #95

Open
Zhanghailin1995 opened this issue Dec 19, 2024 · 1 comment
Open

Comments

@Zhanghailin1995
Copy link

在嵌入式端使用metartc whip推流阿里云的直播服务时,遇到的一些问题

  1. 代码中的yang_http_post不支持ssl,线上环境基本都是ssl的,我使用libcurl来请求阿里云的whip接口
  2. 阿里云的直播服务whip要求上传的sdp里面的msid必须为指定的两个值,rtc audio/rtc video, 通过修改源码编译后可以获取sdp信息
  3. 阿里云的whip接口返回的sdp信息中的部分字段长度很长,例如ufrag,超过100个字节,代码里面的有些地方只为一些字段分配了64甚至更少的内存,运行时会崩溃
    改完以上几点问题后可以成功推流阿里云低延迟RTS直播服务,并且正常播流。感谢您的开源项目
@crolin-zhang
Copy link

可以分享参考学习下不,刚接触metaRTC 从0开始~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants