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

RTMP: Support publish with Server without StreamKey using OBS #3018

Open
winlinvip opened this issue Apr 24, 2022 · 0 comments
Open

RTMP: Support publish with Server without StreamKey using OBS #3018

winlinvip opened this issue Apr 24, 2022 · 0 comments
Assignees
Labels
Enhancement Feature good first issue
Milestone

Comments

@winlinvip
Copy link
Member

@winlinvip winlinvip commented Apr 24, 2022

To publish rtmp://ip/live/livestream?k=v to SRS, the correct way to use OBS:

  • Server: rtmp://ip/live
  • StreamKey: livestream?k=v

However, sometimes the StreamKey has maken lots of people confused, they will literally use as bellow, easpecially for fresh man:

  • Server: rtmp://ip/live/livestream?k=v
  • StreamKey: Empty

And it's easy to understand.

Solution

So, SRS might should support to extract the stream from Server if StreamKey is empty.

That is, if config OBS as:

  • Server: rtmp://ip/live/livestream?k=v
  • StreamKey: Empty

Covert it to:

  • Server: rtmp://ip/live
  • StreamKey: livestream?k=v

And it's compatible with SRT.

Notes

If use SRT, you should put the whole string to Server and leave the StreamKey empty, like this:

  • Server: srt://cvm.ossrs.net:10080?streamid=#!::r=live/cfpkdc,m=publish

And there are serval questions about the OBS config:

It's confusing.

@winlinvip winlinvip self-assigned this Apr 24, 2022
@winlinvip winlinvip added Enhancement Feature labels Apr 24, 2022
@winlinvip winlinvip added this to the 5.0 milestone Apr 24, 2022
@winlinvip winlinvip added the good first issue label Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Feature good first issue
Projects
None yet
Development

No branches or pull requests

1 participant