Skip to content

[BUG]: H264 encoding problem with NvCodec. #882

@SetoKaiba

Description

@SetoKaiba

Package version

3.0.0-pre.4

Environment

* OS:Windows 10
* Unity version:Unity 2020.3

Steps To Reproduce

https://github.com/SetoKaiba/srs-unity
Use this project to produce the bug.

  1. Run a srs server with docker, http://ossrs.io/lts/en-us/docs/v5/doc/getting-started
  2. Use Streamer/SceneNormal to stream the unity camera to srs server.
  3. Open http://localhost:8080/console/en_index.html#/streams?port=1985
  4. You will see the stream can't be played
  5. If you open the player before the streamer, the stream can be played. And if you open a player after that, the new player can't be played as well.
  6. If I recompile the libwebrtc with rtc_use_h264=true proprietary_codecs=true ffmpeg_branding="Chrome", and disable the nvcoded encoder. The stream can be played no matter the play is before or after the push.

Current Behavior

No response

Expected Behavior

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwaiting for releaseThis issue is already fixed and will be contained in next version

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions