Skip to content

whip subscribe 无法成功 #13

Description

@993381

示例中的 webpak 代码我可以跑起来,但是运行就会崩溃,我使用的另一个项目的 whip+whep 的 html 代码进行测试:
https://github.com/DavidJKTofan/webrtc-demo

我使用 srs 做服务端,可以正常使用其自带的 whip+whep 客户端推拉流,也可以使用上面的项目推拉流。
但是该项目,无论我换什么代码,都无法成功使用 whip+whep(whip subscribe) 拉流,请问该项目是否支持同时使用whip推拉流?

经过排查,我发现接口说明文档与代码实现不符,拉流链接由 https://xxxx.com:8090/whip/subscribe/roomId/uid/remoteId 改成了 https://xxxx.com:8090/whip/subscribe/roomId/remoteId。但是我调整了链接之后,虽然不报错了,但是拉流也不能显示图像,看不到其他任何报错信息。经 https://xxxx.com:8090/api/webrtc/room 查询 room 信息发现推流端和拉流端都在,但拉流端就是无法显示。

请问你们这边能否复现,或者如果需要调试环境,可以私聊我vx:993381。

另外有个小的建议,该项目看起来挺好的,就是知名度不高,可以改个名字如 cpp_rtc 之类的增加搜索排名

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions