Skip to content

Commit

Permalink
[*] 日常优化
Browse files Browse the repository at this point in the history
  • Loading branch information
acgist committed Dec 18, 2023
1 parent 11951b7 commit 1ff0620
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,17 +319,13 @@ public interface Constant {
* type 媒体类型
* producerId 生产者终端ID
*/
public static final BiFunction<String, String, String> STREAM_ID_PRODUCER
=
(type, producerId) -> type + "::" + producerId;
public static final BiFunction<String, String, String> STREAM_ID_PRODUCER = (type, producerId) -> type + "::" + producerId;

/**
* 消费者ID生成器
* producerStreamId 生产者媒体ID
* consumerId 消费者终端ID
*/
public static final BiFunction<String, String, String> STREAM_ID_CONSUMER
=
(producerStreamId, consumerId) -> producerStreamId + "->" + consumerId;
public static final BiFunction<String, String, String> STREAM_ID_CONSUMER = (producerStreamId, consumerId) -> producerStreamId + "->" + consumerId;

}

0 comments on commit 1ff0620

Please sign in to comment.